/* 네이버 카페 스킨 스타일시트 */

/* 전체 기본 스타일 */
.mb-skin-naver-cafe {
    font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif;
    color: #333;
    line-height: 1.6;
}

.mb-skin-naver-cafe * {
    box-sizing: border-box;
}

/* 카페 색상 테마 */
.cafe-theme-green {
    --cafe-primary-color: #03c75a;
    --cafe-primary-hover: #02b351;
    --cafe-primary-light: #e8f8ed;
}

.cafe-theme-blue {
    --cafe-primary-color: #0068ff;
    --cafe-primary-hover: #0056d9;
    --cafe-primary-light: #e6f1ff;
}

/* 게시판 래퍼 */
.cafe-board-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px;
}

/* 게시판 헤더 */
.cafe-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
}

.cafe-board-title h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 5px;
}

.cafe-board-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.cafe-board-stats {
    text-align: right;
}

.cafe-stat-item {
    display: inline-block;
    margin-left: 20px;
    font-size: 14px;
}

.cafe-stat-item strong {
    color: #666;
    margin-right: 5px;
}

.cafe-stat-item em {
    font-style: normal;
    font-weight: bold;
    color: var(--cafe-primary-color);
}

/* 카테고리 탭 */
.cafe-category-tabs {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.cafe-category-tabs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.cafe-category-tabs li {
    margin-right: 30px;
}

.cafe-category-tabs a {
    display: block;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.cafe-category-tabs li.active a,
.cafe-category-tabs a:hover {
    color: var(--cafe-primary-color);
    border-bottom-color: var(--cafe-primary-color);
}

/* 게시판 상단 영역 */
.cafe-board-top-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cafe-board-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cafe-total-count {
    font-size: 14px;
    color: #666;
}

.cafe-total-count strong {
    color: var(--cafe-primary-color);
    font-weight: bold;
}

.cafe-sort-options {
    display: flex;
    gap: 10px;
}

.cafe-sort-options select {
    height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.btn-primary {
    background: var(--cafe-primary-color);
    color: #fff;
    border-color: var(--cafe-primary-color);
}

.btn-primary:hover {
    background: var(--cafe-primary-hover);
    border-color: var(--cafe-primary-hover);
}

.btn-default {
    background: #fff;
    color: #333;
    border-color: #ddd;
}

.btn-default:hover {
    background: #f5f5f5;
}

.cafe-write-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 게시판 목록 테이블 */
.cafe-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cafe-list-table thead th {
    padding: 12px 8px;
    background: #f9f9f9;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    font-weight: normal;
    color: #666;
}

.cafe-list-table tbody td {
    padding: 14px 8px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.cafe-list-table tbody tr:hover {
    background: #fafafa;
}

.cafe-notice-row {
    background: #fafafa;
}

.cafe-notice-row:hover {
    background: #f5f5f5;
}

/* 공지사항 아이콘 */
.cafe-notice-icon {
    display: inline-block;
    padding: 2px 6px;
    background: var(--cafe-primary-color);
    color: #fff;
    font-size: 11px;
    border-radius: 2px;
}

/* 카테고리 라벨 */
.cafe-category-label {
    display: inline-block;
    color: #666;
    font-size: 13px;
}

/* 제목 셀 */
.cafe-title-cell {
    text-align: left;
}

.cafe-list-title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cafe-reply-icon {
    color: #999;
}

.cafe-secret-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../images/icon_secret.png') no-repeat center;
    background-size: contain;
}

.cafe-title-link {
    color: #333;
    text-decoration: none;
}

.cafe-title-link:hover {
    text-decoration: underline;
}

/* 메타 아이콘 */
.cafe-meta-icons {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cafe-icon-new {
    display: inline-block;
    padding: 1px 4px;
    background: #ff5544;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 2px;
}

.cafe-icon-hot {
    display: inline-block;
    padding: 1px 4px;
    background: #ff6600;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 2px;
}

.cafe-icon-best {
    display: inline-block;
    padding: 1px 4px;
    background: #0099ff;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 2px;
}

.cafe-icon-file,
.cafe-icon-image {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
}

.cafe-icon-file {
    background-image: url('../images/icon_file.png');
}

.cafe-icon-image {
    background-image: url('../images/icon_image.png');
}

.cafe-comment-count {
    color: var(--cafe-primary-color);
    font-weight: bold;
    font-size: 12px;
}

/* 작성자 정보 */
.cafe-writer-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cafe-level-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../images/level_icons.png') no-repeat;
    background-size: 16px auto;
}

.cafe-level-icon.level-1 { background-position: 0 0; }
.cafe-level-icon.level-2 { background-position: 0 -16px; }
.cafe-level-icon.level-3 { background-position: 0 -32px; }
.cafe-level-icon.level-4 { background-position: 0 -48px; }
.cafe-level-icon.level-5 { background-position: 0 -64px; }

/* 좋아요 카운트 */
.cafe-like-count {
    color: #ff5544;
    font-weight: bold;
}

.cafe-like-zero {
    color: #999;
}

/* 페이지네이션 */
.cafe-pagination-wrap {
    text-align: center;
    margin: 30px 0;
}

.mb-pagination {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mb-pagination a,
.mb-pagination span {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    padding: 0 8px;
    color: #666;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    background: #fff;
    transition: all 0.2s;
}

.mb-pagination a:hover {
    border-color: var(--cafe-primary-color);
    color: var(--cafe-primary-color);
}

.mb-pagination .current {
    background: var(--cafe-primary-color);
    color: #fff;
    border-color: var(--cafe-primary-color);
}

/* 검색 영역 */
.cafe-search-area {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.cafe-search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.cafe-search-field {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cafe-search-input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cafe-search-btn {
    height: 40px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* VIEW 페이지 스타일 */
.cafe-view-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px;
}

/* 게시물 헤더 */
.cafe-view-header {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.cafe-view-title-area {
    margin-bottom: 15px;
}

.cafe-view-category {
    display: inline-block;
    color: #666;
    font-size: 14px;
    margin-right: 8px;
}

.cafe-view-notice-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--cafe-primary-color);
    color: #fff;
    font-size: 12px;
    border-radius: 2px;
    margin-right: 8px;
}

.cafe-view-title {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    margin: 10px 0;
}

/* 작성자 정보 영역 */
.cafe-view-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cafe-view-writer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cafe-writer-profile {
    flex-shrink: 0;
}

.cafe-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.cafe-profile-default {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0 url('../images/profile_default.png') no-repeat center;
    background-size: 24px;
}

.cafe-writer-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.cafe-writer-meta {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}

.cafe-writer-meta span {
    margin-right: 10px;
}

/* 우측 버튼 영역 */
.cafe-view-buttons {
    display: flex;
    gap: 8px;
}

.btn-cafe-tool {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cafe-tool:hover {
    border-color: var(--cafe-primary-color);
}

.cafe-icon-link,
.cafe-icon-print,
.cafe-icon-report,
.cafe-icon-scrap {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
}

/* 게시물 내용 */
.cafe-view-content {
    padding: 30px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.cafe-view-main-image {
    text-align: center;
    margin-bottom: 30px;
}

.cafe-view-main-image img {
    max-width: 100%;
    height: auto;
}

.cafe-content-body {
    min-height: 200px;
}

.cafe-content-body img {
    max-width: 100%;
    height: auto;
}

/* 첨부파일 */
.cafe-view-files {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.cafe-files-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 10px;
}

.cafe-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cafe-file-list li {
    padding: 5px 0;
}

.cafe-file-list a {
    color: #666;
    text-decoration: none;
}

.cafe-file-list a:hover {
    color: var(--cafe-primary-color);
}

.cafe-file-size {
    color: #999;
    font-size: 12px;
}

/* 태그 */
.cafe-view-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.cafe-tag-label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.cafe-tag-item {
    display: inline-block;
    padding: 4px 12px;
    margin: 2px 4px;
    background: #f0f0f0;
    color: #666;
    font-size: 13px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.cafe-tag-item:hover {
    background: var(--cafe-primary-light);
    color: var(--cafe-primary-color);
}

/* 추천/비추천 영역 */
.cafe-view-vote-area {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.cafe-vote-box {
    display: inline-flex;
    gap: 10px;
}

.cafe-vote-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.cafe-vote-good:hover {
    border-color: var(--cafe-primary-color);
    background: var(--cafe-primary-light);
}

.cafe-vote-bad:hover {
    border-color: #ff5544;
    background: #ffeeee;
}

.cafe-vote-icon-good,
.cafe-vote-icon-bad {
    display: block;
    width: 32px;
    height: 32px;
    background-size: contain;
}

.cafe-vote-count {
    font-size: 16px;
    font-weight: bold;
}

/* SNS 공유 */
.cafe-view-sns-area {
    padding: 20px 0;
    text-align: center;
}

.cafe-sns-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.cafe-sns-buttons {
    display: inline-flex;
    gap: 8px;
}

.cafe-sns-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.cafe-sns-btn:hover {
    transform: translateY(-2px);
}

.cafe-sns-facebook { background-image: url('../images/sns_facebook.png'); background-size: 24px; background-repeat: no-repeat; background-position: center; }
.cafe-sns-twitter { background-image: url('../images/sns_twitter.png'); background-size: 24px; background-repeat: no-repeat; background-position: center; }
.cafe-sns-kakao { background-image: url('../images/sns_kakao.png'); background-size: 24px; background-repeat: no-repeat; background-position: center; }
.cafe-sns-naver { background-image: url('../images/sns_naver.png'); background-size: 24px; background-repeat: no-repeat; background-position: center; }
.cafe-sns-link { background-image: url('../images/sns_link.png'); background-size: 24px; background-repeat: no-repeat; background-position: center; }

/* 하단 버튼 영역 */
.cafe-view-bottom-buttons {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.cafe-bottom-left,
.cafe-bottom-right {
    display: flex;
    gap: 8px;
}

/* 이전글/다음글 */
.cafe-view-navigation {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.cafe-nav-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cafe-nav-item:last-child {
    border-bottom: none;
}

.cafe-nav-label {
    width: 80px;
    flex-shrink: 0;
    font-size: 14px;
    color: #666;
}

.cafe-nav-link {
    flex: 1;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cafe-nav-link:hover {
    color: var(--cafe-primary-color);
}

.cafe-nav-category {
    color: #666;
    margin-right: 5px;
}

/* 댓글 영역 */
.cafe-comment-wrapper {
    margin-top: 40px;
}

.cafe-comment-header {
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
}

.cafe-comment-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.cafe-comment-count {
    color: var(--cafe-primary-color);
    margin-left: 5px;
}

/* 댓글 작성 폼 */
.cafe-comment-write {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.cafe-comment-form {
    display: flex;
    gap: 15px;
}

.cafe-comment-profile {
    flex-shrink: 0;
}

.cafe-comment-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.cafe-comment-profile-default {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0 url('../images/profile_default.png') no-repeat center;
    background-size: 24px;
}

.cafe-comment-input-area {
    flex: 1;
}

.cafe-comment-guest-info {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.cafe-comment-name,
.cafe-comment-password {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cafe-comment-textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.cafe-comment-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cafe-comment-length {
    font-size: 13px;
    color: #999;
}

/* 댓글 목록 */
.cafe-comment-list {
    margin-top: 20px;
}

.cafe-comment-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cafe-comment-reply {
    background: #fafafa;
}

.cafe-reply-arrow {
    display: inline-block;
    color: #999;
}

.cafe-comment-body {
    display: flex;
    gap: 15px;
}

.cafe-comment-content {
    flex: 1;
}

.cafe-comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.cafe-comment-writer {
    font-weight: bold;
    margin-right: 10px;
}

.cafe-comment-date {
    color: #999;
    font-size: 13px;
}

.cafe-comment-buttons {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.cafe-comment-reply-btn,
.cafe-comment-modify-btn,
.cafe-comment-delete-btn,
.cafe-comment-good-btn {
    padding: 2px 8px;
    font-size: 12px;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
}

.cafe-comment-reply-btn:hover,
.cafe-comment-modify-btn:hover,
.cafe-comment-delete-btn:hover {
    color: var(--cafe-primary-color);
}

.cafe-comment-good-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cafe-icon-good {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url('../images/icon_good.png') no-repeat center;
    background-size: contain;
}

.cafe-comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.cafe-comment-secret-msg {
    color: #999;
    font-style: italic;
}

.cafe-icon-lock {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url('../images/icon_lock.png') no-repeat center;
    background-size: contain;
    margin-right: 5px;
}

/* 댓글 수정/답글 폼 */
.cafe-comment-modify-form,
.cafe-comment-reply-form {
    margin-top: 15px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.cafe-comment-modify-textarea,
.cafe-reply-textarea {
    width: 100%;
    min-height: 60px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.cafe-comment-modify-password {
    width: 200px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.cafe-comment-modify-buttons,
.cafe-reply-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* 댓글 더보기 */
.cafe-comment-more {
    text-align: center;
    margin-top: 20px;
}

.cafe-comment-more-btn {
    padding: 10px 30px;
}

.cafe-more-count {
    color: var(--cafe-primary-color);
    font-weight: bold;
}

/* 댓글 없음 */
.cafe-comment-empty {
    text-align: center;
    padding: 60px 0;
    color: #999;
}

.cafe-comment-first {
    margin-top: 10px;
    font-size: 14px;
}

/* WRITE 페이지 스타일 */
.cafe-write-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px;
}

.cafe-write-header {
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.cafe-write-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.cafe-write-table {
    width: 100%;
    border-collapse: collapse;
}

.cafe-write-table th {
    width: 120px;
    padding: 15px;
    text-align: left;
    font-weight: normal;
    color: #333;
    background: #f9f9f9;
    border-bottom: 1px solid #e5e5e5;
}

.cafe-write-table td {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.cafe-select-category {
    width: 200px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cafe-input-title {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cafe-write-options {
    margin-top: 10px;
}

.cafe-checkbox {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
}

.cafe-checkbox input[type="checkbox"] {
    margin-right: 5px;
}

.cafe-checkbox span {
    font-size: 14px;
    color: #666;
}

.cafe-input-name,
.cafe-input-password {
    width: 200px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cafe-password-info {
    font-size: 13px;
    color: #999;
    margin-left: 10px;
}

.cafe-textarea-content {
    width: 100%;
    min-height: 400px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

/* 파일 업로드 */
.cafe-file-upload {
    
}

.cafe-input-file {
    display: none;
}

.cafe-file-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.cafe-file-label:hover {
    background: #eee;
}

.cafe-icon-upload {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../images/icon_upload.png') no-repeat center;
    background-size: contain;
}

.cafe-file-info {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

.cafe-current-file {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 14px;
}

.cafe-current-file a {
    color: var(--cafe-primary-color);
    text-decoration: none;
}

.cafe-current-file a:hover {
    text-decoration: underline;
}

.cafe-file-item {
    margin-bottom: 10px;
}

.cafe-input-tag {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cafe-tag-info {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

/* 글쓰기 하단 버튼 */
.cafe-write-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.cafe-cancel-btn {
    
}

.cafe-preview-btn {
    margin-right: 8px;
}

.cafe-submit-btn {
    min-width: 100px;
}

/* 비밀글 페이지 */
.cafe-secret-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.cafe-secret-box {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
}

.cafe-secret-icon-large {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: url('../images/icon_secret_large.png') no-repeat center;
    background-size: contain;
}

.cafe-secret-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 10px;
}

.cafe-secret-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 30px;
}

.cafe-secret-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.cafe-secret-label {
    display: none;
}

.cafe-secret-input {
    width: 200px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cafe-secret-btn {
    height: 40px;
    padding: 0 20px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .cafe-board-wrapper,
    .cafe-view-wrapper,
    .cafe-write-wrapper {
        padding: 15px;
    }
    
    .cafe-board-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .cafe-board-stats {
        text-align: left;
    }
    
    .cafe-stat-item {
        margin-left: 0;
        margin-right: 20px;
    }
    
    .cafe-board-top-area {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .cafe-board-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cafe-list-table {
        font-size: 13px;
    }
    
    .cafe-list-table thead th,
    .cafe-list-table tbody td {
        padding: 10px 5px;
    }
    
    .cafe-list-table .cafe-writer,
    .cafe-list-table .cafe-hit,
    .cafe-list-table .cafe-like {
        display: none;
    }
    
    .cafe-view-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .cafe-view-buttons {
        order: -1;
    }
    
    .cafe-vote-box {
        flex-direction: column;
        width: 100%;
    }
    
    .cafe-vote-btn {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .cafe-comment-form {
        flex-direction: column;
    }
    
    .cafe-comment-body {
        flex-direction: column;
    }
    
    .cafe-write-table th {
        width: 80px;
        padding: 10px;
        font-size: 13px;
    }
    
    .cafe-write-table td {
        padding: 10px;
    }
    
    .cafe-input-name,
    .cafe-input-password,
    .cafe-select-category {
        width: 100%;
    }
    
    .cafe-search-box {
        flex-wrap: wrap;
    }
    
    .cafe-search-field {
        width: 100%;
    }
    
    .cafe-search-input {
        width: 100%;
    }
    
    .cafe-search-btn {
        width: 100%;
    }
}

/* 모바일 전용 스타일 */
.mb-mobile .cafe-board-wrapper {
    padding: 10px;
}

.mb-mobile .cafe-list-table {
    display: block;
}

.mb-mobile .cafe-list-table thead {
    display: none;
}

.mb-mobile .cafe-list-table tbody {
    display: block;
}

.mb-mobile .cafe-list-table tr {
    display: block;
    padding: 15px 10px;
    border-bottom: 1px solid #e5e5e5;
}

.mb-mobile .cafe-list-table td {
    display: block;
    padding: 2px 0;
    border: none;
}

.mb-mobile .cafe-title-cell {
    margin-bottom: 5px;
}

.mb-mobile .cafe-list-title {
    flex-wrap: wrap;
}

.mb-mobile .cafe-num,
.mb-mobile .cafe-category {
    display: inline-block;
    margin-right: 10px;
}

.mb-mobile .cafe-date {
    display: inline-block;
    font-size: 12px;
    color: #999;
}