/**
 * 게시판 목록 스타일
 */
.board-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

.board-header {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.board-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.board-info {
    color: #666;
    font-size: 14px;
}

/* 답글 구분을 위한 스타일 */
.parent-article {
    background-color: #ffffff;
    opacity: 1;
}

.reply-article {
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    opacity: 0.9;
    border-radius: 0 8px 8px 0;
}

.reply-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #e9ecef;
    color: #495057;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
    margin-right: 8px;
}

.reply-indicator i {
    font-size: 0.7em;
}

/* 답글 레벨에 따른 색상 변화 */
.reply-article[style*="margin-left: 15px"] {
    border-left-color: #28a745;
}

.reply-article[style*="margin-left: 30px"] {
    border-left-color: #ffc107;
}

.reply-article[style*="margin-left: 45px"] {
    border-left-color: #dc3545;
}

.reply-article[style*="margin-left: 60px"] {
    border-left-color: #6f42c1;
}

.reply-article[style*="margin-left: 75px"] {
    border-left-color: #17a2b8;
}

.reply-article[style*="margin-left: 90px"] {
    border-left-color: #28a745;
}

/* 호버 효과 */
.reply-article:hover {
    background-color: #e9ecef;
    transform: translateX(2px);
    transition: all 0.2s ease;
}

.parent-article:hover {
    box-shadow: 0 2px 8px rgba(0,123,255,0.15);
    transition: all 0.2s ease;
}

/* ===== 첨부파일 스타일 ===== */
.file-attachments {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.file-attachments h4 {
    color: #495057;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.file-item:hover {
    border-color: #d0d6dd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.file-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.file-details {
    flex: 1;
}

.file-name {
    display: block;
    margin-bottom: 4px;
}

.file-link {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.file-link:hover {
    color: #007bff;
    text-decoration: underline;
}

.file-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #6c757d;
}

.file-size, .file-type, .file-date, .download-count {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

.file-actions {
    display: flex;
    gap: 8px;
}

.file-actions .btn {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

/* ===== 게시판 목록 스타일 ===== */
.list-article-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    overflow: hidden;
}

.list-article-card:hover {
    border-color: #d0d6dd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

.list-article-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f3f4;
    background: #fafbfc;
}

.list-article-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.list-article-title a {
    color: #333;
    text-decoration: none;
}

.list-article-title a:hover {
    color: #007bff;
    text-decoration: none;
}

.list-article-meta {
    margin-top: 8px;
}

.list-article-meta .meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
    gap: 20px;
}

.list-article-meta .meta-left {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
}

.list-article-meta .meta-right {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
}

.list-article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.list-article-meta .meta-item i {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    flex-shrink: 0;
}

.list-article-content {
    padding: 16px 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* article-stats는 이제 meta-right로 이동됨 */

.new-badge {
    background: #dc3545;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
}

.secret-badge {
    background: #6c757d;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
}

.category-badge {
    background: #007bff;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 8px;
}

.board-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.search-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.search-form select,
.search-form input {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
}

.search-form button {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

.search-form button:hover {
    background: #0056b3;
}

.write-btn {
    background: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.write-btn:hover {
    background: #218838;
    color: white;
    text-decoration: none;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-link {
    color: #6c757d;
    border: 1px solid #d9dcdf;
    padding: 8px 12px;
    margin: 0 2px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
}

.pagination .page-link:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #d9dcdf;
}

.pagination .page-item.active .page-link,
.pagination .page-link.active {
    background: #495057 !important;
    color: white !important;
    border-color: #495057 !important;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background: #fff;
    border-color: #d9dcdf;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

.empty-state h3 {
    color: #999;
    margin-bottom: 8px;
}

.empty-state p {
    color: #aaa;
    margin: 0;
}

@media (max-width: 768px) {
    .board-list-container {
        padding: 15px 10px;
    }
    
    .list-article-header {
        padding: 12px 15px;
    }
    
    .list-article-content {
        padding: 12px 15px;
    }
    
    /* article-stats는 이제 meta-right로 이동됨 */
    
    .list-article-meta .meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .list-article-meta .meta-left {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .list-article-meta .meta-right {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .list-article-meta .meta-item {
        font-size: 12px;
    }
    
    .board-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-form {
        width: 100%;
    }
    
    .search-form input {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .list-article-title {
        font-size: 15px;
    }
    
    .list-article-meta .meta-item {
        font-size: 11px;
    }
    
    .list-article-meta .meta-left,
    .list-article-meta .meta-right {
        gap: 8px;
    }
    
    /* article-stats는 이제 meta-right로 이동됨 */
}


/* ===== 비밀번호 확인 모달 스타일 ===== */
#passwordVerifyModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
}

#passwordVerifyModal .modal-header .btn-close {
    filter: invert(1);
}

#passwordVerifyModal .modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

#passwordVerifyModal .alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 1px solid #bbdefb;
    color: #1565c0;
    border-radius: 8px;
}

#passwordVerifyModal .form-label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

#passwordVerifyModal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

#passwordVerifyModal .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

#passwordVerifyModal .modal-footer .btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#passwordVerifyModal .modal-footer .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

#passwordVerifyModal .modal-footer .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

#passwordVerifyModal .modal-footer .btn-secondary {
    background: #6c757d;
    border: none;
}

#passwordVerifyModal .modal-footer .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* ===== 게시판 보기 스타일 ===== */
.view-article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.view-article-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 20px;
}

.view-article-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* 중복 제거됨 - 위에서 정의됨 */

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: #007bff;
}

.view-article-content {
    line-height: 1.8;
    color: #333;
    margin-top: 30px;
    margin-bottom: 30px;
    min-height: 200px;
}

.view-article-content h1, .view-article-content h2, .view-article-content h3,
.view-article-content h4, .view-article-content h5, .view-article-content h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.view-article-content p {
    margin-bottom: 15px;
}

.view-article-content ul, .view-article-content ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.view-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.view-article-content table th,
.view-article-content table td {
    border: 1px solid #dee2e6;
    padding: 12px;
    text-align: left;
}

.view-article-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.view-article-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
    color: white;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #1e7e34;
    color: white;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    color: white;
}

@media (max-width: 768px) {
    .view-article-container {
        margin: 10px;
        padding: 15px;
    }
    
    .view-article-title {
        font-size: 24px;
    }
    
    .view-article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .view-article-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
}


 /**
  * 게시판 글쓰기 스타일
  */
 .board-write-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

/**
 * 게시판 보기 스타일
 */
.board-view-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

.view-form-container {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}


/* 댓글 제목 스타일 */
.comment_title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 15px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #007bff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment_title .title-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.comment_title .comment-count {
    background: #007bff;
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    line-height: 1;
}

/* comment.skin.php */
.comment_section {margin-top:50px;}
.comment_list {margin:10px;border-top:1px solid #f0f0f0;}
.comment_list .comment_line {border-bottom:1px solid #f0f0f0;}
.comment_list .comment_line:hover {background-color:#fbfbfb;}
.comment_list .comment_line .cmt_view_info_line {padding:10px 10px 0 10px;display:-webkit-flex;display:-moz-flex;display:flex;-webkit-justify-content:space-between;-moz-justify-content:space-between;justify-content:space-between;}
.comment_list .comment_line .cmt_view_info_line .cmt_view_info {margin-bottom:5px;}
.comment_list .comment_line .cmt_view_info_line .cmt_view_info .cmt_writer {font-weight:500;font-size:0.85em;color:#888888;}
.comment_list .comment_line .cmt_view_info_line .cmt_view_info .cmt_regdate {font-size:0.8em;color:#b8b8b8;}
.comment_list .comment_line .cmt_view_info_line .cmt_view_btn {display:-webkit-flex;display:-moz-flex;display:flex;-webkit-align-items:center;-moz-align-items:center;align-items:center;}
.comment_list .comment_line .cmt_view_info_line .cmt_view_btn a {text-decoration:none;color:#7c7c7c;font-size:0.85em;}
.comment_list .comment_line .cmt_view_info_line .cmt_view_btn a:hover {color:#575757;}
.comment_list .comment_line .cmt_view_info_line .cmt_view_btn .cmt_btn_divider {font-size:0.6em;color:#aaaaaa;}
.comment_list .comment_line .cmt_view_content_line {padding:0 10px 10px 10px;}
.comment_write {
    display: none;
    background-color: #f9f9f9;
    border-top: 1px solid #eeeeee;
    padding: 20px;
}

.comment_write.show {
    display: block;
}
.comment_write .cmt_writer {display:inline-block;width:120px;margin-bottom:3px;}
.comment_write .cmt_pw {display:inline-block;width:120px;margin-bottom:3px;}
.comment_write_msg {text-align:center; color:#aaaaaa;}


/* 중복 제거됨 - 위에서 정의됨 */

.meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.meta-item i {
    color: #6c757d;
    width: 16px;
}

.article-content {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #333;
}

.content-editor {
    min-height: 200px;
}

.content-text {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.file-attachments {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.file-attachments h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.board-header {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.board-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.board-info {
    color: #666;
    font-size: 14px;
}

.write-form-container {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label.required::after {
    content: " *";
    color: #dc3545;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-textarea {
    min-height: 200px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-options {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007bff;
}

.form-checkbox label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin: 0;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.btn-outline:hover {
    background: #6c757d;
    color: white;
    text-decoration: none;
}

.file-upload-area {
    border: 2px dashed #ced4da;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    transition: border-color 0.2s ease;
}

.file-upload-area:hover {
    border-color: #007bff;
}

.file-upload-area.dragover {
    border-color: #007bff;
    background: #f0f8ff;
}

.file-list {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin-bottom: 8px;
}

.file-name {
    font-size: 14px;
    color: #333;
}

.file-size {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
}

.file-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
}

.help-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.success-message {
    color: #28a745;
    font-size: 12px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .board-write-container {
        padding: 15px 10px;
    }
    
    .board-view-container {
        padding: 15px 10px;
    }
    
    .write-form-container {
        padding: 20px 15px;
    }
    
    .view-form-container {
        padding: 20px 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
}

/* View 페이지 메타 정보 스타일 - list.skin.php와 동일한 스타일 적용 */
.view-article-header .view-article-meta .meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.view-article-header .view-article-meta .meta-left {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
}

.view-article-header .view-article-meta .meta-right {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
}

.view-article-header .view-article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-size: 14px;
    color: #666;
}

.view-article-header .view-article-meta .meta-item i {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    color: #6c757d;
}

/* 모바일에서 메타 정보 반응형 처리 */
@media (max-width: 768px) {
    .view-article-header .view-article-meta .meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .view-article-header .view-article-meta .meta-left {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .view-article-header .view-article-meta .meta-right {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .view-article-header .view-article-meta .meta-item {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .view-article-header .view-article-meta .meta-item {
        font-size: 11px;
    }
    
    .view-article-header .view-article-meta .meta-left,
    .view-article-header .view-article-meta .meta-right {
        gap: 8px;
    }
}

/* List 페이지 검색 및 글쓰기 영역 스타일 */
.search-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    width: 100%;
}

.search-select {
    width: auto;
    min-width: 100px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    min-width: 200px;
}

.search-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.write-section {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}

.write-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.write-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* 모바일에서 검색 영역 반응형 처리 */
@media (max-width: 768px) {
    .search-inputs {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
    }
    
    .search-select,
    .search-input {
        width: 100%;
        min-width: auto;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .write-section {
        justify-content: center;
    }
    
    .write-btn {
        width: 100%;
        justify-content: center;
    }
} 