/* 고객센터 페이지 스타일 */
.support-page-wrapper {
    margin-top: 0; /* 헤더 표준 값 사용 */
    padding: 0; /* 상단 패딩 완전 제거 */
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 답변 상태 배지 스타일 */
.reply-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
    white-space: nowrap;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reply-badge.answered {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.reply-badge.waiting {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

/* 답변 배지 호버 효과 */
.reply-badge.answered:hover {
    background: linear-gradient(135deg, #218838, #1ea888);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
    transition: all 0.2s ease;
}

.reply-badge.waiting:hover {
    background: linear-gradient(135deg, #e0a800, #e8650e);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.4);
    transition: all 0.2s ease;
}

/* 문의 항목별 답변 상태에 따른 스타일링 */
.inquiry-item {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    padding-left: 16px;
}

.inquiry-item.has-reply {
    border-left: 4px solid #28a745;
}

.inquiry-item.waiting-reply {
    border-left: 4px solid #ffc107;
}

/* 답변 완료된 문의 항목 추가 스타일링 */
.inquiry-item.has-reply {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.02), rgba(40, 167, 69, 0.05));
}

.inquiry-item.waiting-reply {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.02), rgba(255, 193, 7, 0.05));
}

/* 답변 상태별 호버 효과 */
.inquiry-item.has-reply:hover {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(40, 167, 69, 0.08));
    transform: translateX(2px);
}

.inquiry-item.waiting-reply:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.08));
    transform: translateX(2px);
}

/* 문의 목록 필터링 스타일 (향후 필터 기능을 위한 준비) */
.inquiry-list-section {
    position: relative;
}

.reply-status-filter {
    display: none; /* 향후 필터 기능 추가 시 사용 */
    margin-bottom: 20px;
    text-align: center;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .reply-badge {
        font-size: 10px;
        padding: 3px 6px;
        margin-left: 4px;
    }
    
    .inquiry-header h4 {
        line-height: 1.4;
        word-break: keep-all;
    }
    
    .inquiry-item {
        padding-left: 12px;
    }
    
    .inquiry-item.has-reply,
    .inquiry-item.waiting-reply {
        border-left-width: 3px;
    }
}

/* ========================================
   표준 반응형 - Desktop (768px-1199px)
   ======================================== */
@media (max-width: 1199px) and (min-width: 768px) {
    .support-header-menu {
        min-height: 260px !important;
        padding: 70px 0 0 !important;
        margin-top: 0 !important; /* 강제로 상단 마진 제거 */
    }
    
    .page-header-content {
        min-height: 130px !important;
        margin-bottom: 40px !important;
    }
    
    .page-title {
        font-size: 2.2rem !important;
    }
    
    .page-subtitle {
        font-size: 1.1rem !important;
    }

    .support-page-wrapper {
        padding: 0;
        margin-top: 0 !important; /* 강제로 상단 마진 제거 */
    }
    
    /* 헤더와 콘텐츠 사이 간격 강제 조정 */
    .support-content {
        margin-top: 0 !important;
    }
}

/* ========================================
   표준 반응형 - Mobile (max-767px)
   ======================================== */
@media (max-width: 767px) {
    .support-page-wrapper {
        margin-top: 0; /* 헤더 표준 55px 사용 */
        padding: 0; /* 상단 패딩 제거 */
    }
}

/* ========================================
   표준 반응형 - Small Mobile (max-480px)
   ======================================== */
@media (max-width: 480px) {
    .support-page-wrapper {
        margin-top: 0; /* 헤더 표준 50px 사용 */
        padding: 0; /* 상단 패딩 제거 */
    }
}

/* 헤더 및 탭 영역 - 1900*400px 배경 이미지 최적화 */
.support-header-menu {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/support-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    padding: 80px 0 0;
    margin-top: 0;
    min-height: 280px;
}

.page-header-content {
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 기존 분리된 스타일들은 숨김 처리 */
.page-header {
    display: none;
}

.support-menu {
    display: none;
}

/* 탭 메뉴 - 서비스소개와 동일한 스타일 */
.support-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: #fff;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 0; /* 서비스 소개와 동일하게 마진 없음 */
}

.tab-btn {
    background: #fff;
    border: 1px solid #dee2e6;
    padding: 10px 20px; /* 서비스 소개와 동일하게 12px에서 10px로 감소 */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    flex: 1;
    text-align: center;
    min-width: 120px;
    position: relative;
    color: #333;
    line-height: normal; /* 라인 높이를 기본값으로 변경 */
}

.tab-btn:hover:not(.active) {
    background: #f8f9fa;
    color: #00BCD4;
    transform: translateY(-1px);
}

.tab-btn.active {
    background: #00BCD4;
    color: #fff;
    border-color: #00BCD4;
    box-shadow: 0 2px 5px rgba(0, 188, 212, 0.3);
}

.tab-btn:not(:last-child) {
    border-right: none;
}

/* 탭 콘텐츠 - 서비스소개와 동일한 스타일 */
.support-content {
    background: #fff;
    min-height: 500px;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 0 0 10px 10px;
    border: 1px solid #dee2e6;
    border-top: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.3s ease-in-out;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* 정기구독 탭과 FAQ 탭 하단 여백 조정 */
#subscription-tab {
    margin-bottom: 0; /* 여백 제거 */
}

#faq-tab {
    margin-bottom: 0; /* 푸터와의 간격 제거 */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.section-header p {
    color: #666;
    margin: 5px 0 0 0;
}

.section-actions {
    display: flex;
    gap: 10px;
}

/* 폼 헤더 스타일 */
.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* 성공 메시지 스타일 개선 */
.success-message {
    background: linear-gradient(135deg, #00BCD4, #26C6DA);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
    transition: opacity 0.3s ease;
}

.success-message p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 에러 메시지 스타일 */
.error-message {
    background: linear-gradient(135deg, #0097A7, #006064);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 151, 167, 0.3);
    transition: opacity 0.3s ease;
}

.error-message p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* FAQ 스타일 */
.faq-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-list {
    width: 100%;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    width: 100%;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: #00BCD4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-text {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
    word-wrap: break-word;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.faq-answer {
    display: none;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e9ecef;
    width: 100%;
    box-sizing: border-box;
}

.faq-answer.active {
    display: flex;
}

.faq-answer .faq-icon {
    background: #4CAF50;
}

.faq-content {
    flex: 1;
    line-height: 1.6;
    color: #555;
    word-wrap: break-word;
}

/* 폼 스타일 */
.estimate-form,
.inquiry-form {
    max-width: 1200px;
    width: 100%;
    background: #fff;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 0 10px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-last {
    border-bottom: none !important;
    margin-bottom: 20px;
}

.form-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* 폼 제목 통일 스타일 */
.form-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 30px 0 20px 0;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    color: #333;
}

.form-title:first-child,
.estimate-form .form-title:first-child,
.inquiry-form .form-title:first-child,
.estimate-form > .form-title:first-of-type,
.inquiry-form > .form-title:first-of-type {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 특정 구간에 구분선 추가 */
.form-divider {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    margin-top: 30px;
}

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

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00BCD4;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9rem;
}

/* 체크박스 그룹 */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

/* 라디오 그룹 */
.radio-group {
    display: flex;
    gap: 30px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: auto;
    margin-right: 8px;
}

/* 비밀글 안내 메시지 */
.privacy-notice {
    margin-top: 15px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    font-size: 0.9rem;
}

.privacy-notice p {
    margin: 0;
    color: #856404;
    line-height: 1.5;
}

.privacy-notice strong {
    color: #000;
}

/* 공개/비밀글 설정 안내 박스 */
.visibility-notice {
    margin-top: 15px;
}

.notice-box {
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.notice-public {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border: 1px solid #2196f3;
}

.notice-private {
    background: linear-gradient(135deg, #fff3e0, #fce4ec);
    border: 1px solid #ff9800;
}

.notice-box h4 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.notice-box ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.notice-box li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    line-height: 1.5;
    color: #555;
}

.notice-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
    font-weight: bold;
}

.notice-box li:last-child {
    margin-bottom: 0;
}

.notice-box strong {
    color: #333;
    font-weight: 600;
}

/* 개인정보수집동의 박스 스타일 */
.privacy-policy-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.privacy-content {
    margin-bottom: 15px;
}

.privacy-content p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.privacy-agreement {
    border-top: 1px solid #dee2e6;
    padding-top: 15px;
}

.privacy-agreement label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.privacy-agreement input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.privacy-agreement input[type="checkbox"]:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* 버튼 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: center;
}

.btn-primary {
    background: #00BCD4;
    color: #fff;
}

.btn-primary:hover {
    background: #00ACC1;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
    padding: 10px 16px;
    font-size: 0.85rem;
    min-width: 90px;
}

.btn-secondary:hover {
    background: #5a6268;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-width: 140px;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

/* 문의 목록 */
.inquiry-list-section {
    margin-top: 0;
    padding-top: 0;
}

.inquiry-list-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.inquiry-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inquiry-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.inquiry-item:hover {
    border-color: #00BCD4;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.1);
    transform: translateY(-2px);
}

.inquiry-item.private {
    background: #f8f9fa;
    border-color: #6c757d;
}

.inquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.inquiry-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    flex: 1;
    margin-right: 15px;
}

.inquiry-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inquiry-date {
    font-size: 0.9rem;
    color: #6c757d;
    white-space: nowrap;
}

.inquiry-toggle {
    font-size: 1rem;
    color: #666;
    transition: transform 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.inquiry-item.expanded .inquiry-toggle {
    transform: rotate(180deg);
}

.inquiry-preview {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

.inquiry-detail {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.inquiry-detail-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.inquiry-full-content {
    line-height: 1.7;
    color: #555;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.inquiry-item.expanded {
    border-color: #00BCD4;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.1);
}

.inquiry-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.customer-name {
    color: #495057;
    font-weight: 500;
}

.cleaning-types {
    color: #6c757d;
}

.inquiry-content,
.inquiry-preview {
    color: #555;
    line-height: 1.6;
}

.private-notice {
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

.no-inquiries {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.no-inquiries p {
    margin: 0;
    font-size: 1.1rem;
}

/* 정기구독 스타일 */
.subscription-benefits {
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.subscription-plans {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
}

.subscription-plans h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.plan-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.plan-item:hover {
    border-color: #00BCD4;
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.1);
    transform: translateY(-3px);
}

.plan-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.plan-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00BCD4;
    margin-bottom: 25px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    display: inline-block;
}

.plan-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-item li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.plan-item li:last-child {
    border-bottom: none;
}

.plan-item li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

.subscription-cta {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
}

.cta-content {
    text-align: center;
}

.cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* 모달 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e9ecef;
    color: #333;
}

.modal-body {
    padding: 30px;
    line-height: 1.6;
    color: #555;
}

.modal-body .meta-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-body .meta-info strong {
    color: #333;
}

.modal-body .content-area {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.modal-body .content-area h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.modal-body .content-area p {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.7;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
    text-align: right;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* 반응형 */
@media (max-width: 768px) {
    .support-header-menu {
        min-height: 240px;
        padding: 60px 0 0;
    }
    
    .page-header-content {
        min-height: 120px;
        margin-bottom: 30px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .support-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        border-radius: 10px 10px 0 0;
        overflow: hidden;
        padding: 0;
        margin: 0 10px;
        margin-bottom: 0;
    }
    
    .tab-btn {
        border-radius: 0 !important;
        padding: 12px 8px;
        font-size: 0.9rem;
        min-width: auto;
        flex: none;
        margin: 0;
        border: 1px solid #dee2e6;
        border-right: none;
        border-bottom: none;
        box-shadow: none;
        text-align: center;
    }
    
    .tab-btn:nth-child(even) {
        border-right: 1px solid #dee2e6;
    }
    
    .tab-btn:nth-last-child(-n+2) {
        border-bottom: 1px solid #dee2e6;
    }
    
    .tab-btn:first-child {
        border-top-left-radius: 10px !important;
    }
    
    .tab-btn:nth-child(2) {
        border-top-right-radius: 10px !important;
    }
    
    .tab-btn:nth-last-child(2) {
        border-bottom-left-radius: 0 !important;
    }
    
    .tab-btn:last-child {
        border-bottom-right-radius: 0 !important;
    }
    
    .support-content {
        padding: 30px 0;
    }
    
    .checkbox-group label {
        font-size: 0.9rem;
    }
    
    span.error-message {
        background: rgba(220, 53, 69, 0.1);
        color: #dc3545;
        padding: 8px 12px;
        border-radius: 5px;
        display: block;
        margin-top: 8px;
        font-size: 0.85rem;
        border: 1px solid rgba(220, 53, 69, 0.2);
    }
    
    .field-error {
        border-color: #dc3545 !important;
    }
}

.cleaning-types-detail {
    margin-top: 15px;
    padding: 10px 15px;
    background: #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #495057;
}

.cleaning-types-detail strong {
    color: #333;
}

/* 댓글 섹션 스타일 */
.inquiry-comments-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.inquiry-comments-section h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #000;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-meta strong {
    color: #00BCD4;
    font-size: 0.9rem;
}

.comment-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.comment-content {
    color: #555;
    line-height: 1.6;
    font-size: 0.9rem;
}

.no-comments {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 20px;
    margin: 0;
}

/* 파일 업로드 영역 스타일 */
.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafafa;
    cursor: pointer;
}

.file-upload-area.dragover {
    border-color: #00BCD4;
    background: #e6f7ff;
}

.upload-zone {
    padding: 10px 8px;
}

.upload-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
    opacity: 0.6;
}

.upload-zone p {
    margin: 6px 0 4px 0;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
}

.upload-zone small {
    display: block;
    color: #888;
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.2;
}

.file-list {
    margin-top: 20px;
    text-align: left;
}

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

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

.file-icon {
    font-size: 1.2rem;
    margin-right: 10px;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.file-size {
    font-size: 0.85rem;
    color: #666;
}

.file-remove {
    background: #0097A7;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.file-remove:hover {
    background: #006064;
}

.file-list:empty {
    display: none;
}

/* 필수 항목 표시 스타일 */
.required {
    color: #dc3545;
    font-weight: bold;
}

.form-group label .required,
.form-title .required,
.privacy-agreement .required {
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
}

/* 데스크톱에서 문의목록 보기 버튼 크기 조정 */
@media (min-width: 769px) {
    .section-actions .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
        min-width: 80px;
    }
    
    .section-actions .btn-secondary {
        padding: 8px 14px;
        font-size: 0.8rem;
        min-width: 80px;
    }
    
    .section-actions .btn-primary {
        padding: 8px 14px;
        font-size: 0.8rem;
        min-width: 80px;
    }
}

/* 섹션 헤더 모바일 스타일 */
.section-header {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    justify-content: space-between;
}

.section-header h2 {
    font-size: 1.5rem;
    margin: 0;
    flex: 1;
}

.section-actions {
    display: flex;
    gap: 8px;
    width: auto;
    flex-shrink: 0;
}

.section-actions .btn {
    flex: none;
    padding: 8px 12px;
    font-size: 0.8rem;
    min-width: auto;
    white-space: nowrap;
}

/* FAQ CTA 섹션 - 블로그 스타일과 동일 */
.support-cta {
    background: #000;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.support-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.support-cta p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.support-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.support-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 45px;
    min-width: 160px;
    text-align: center;
    position: relative;
    white-space: nowrap;
    line-height: 1;
}

.support-cta .btn-primary {
    background: #4CAF50 !important;
    color: #fff !important;
    border-color: #4CAF50 !important;
    padding: 12px 20px 12px 35px !important;
    position: relative !important;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3), 0 0 15px rgba(255,255,255,0.8) !important;
}

.support-cta .btn-primary::before {
    content: "📞" !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9rem !important;
}

.support-cta .btn-primary:hover {
    background: #45a049 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4), 0 0 20px rgba(255,255,255,0.9) !important;
}

.support-cta .btn-outline {
    background: #00BCD4 !important;
    color: #fff !important;
    border-color: #00BCD4 !important;
    padding: 12px 20px 12px 35px !important;
    position: relative !important;
    box-shadow: 0 3px 10px rgba(0, 188, 212, 0.3), 0 0 15px rgba(255,255,255,0.8) !important;
}

.support-cta .btn-outline::before {
    content: "💬" !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9rem !important;
}

.support-cta .btn-outline:hover {
    background: #00ACC1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 151, 167, 0.4), 0 0 20px rgba(255,255,255,0.9) !important;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .support-cta {
        padding: 40px 0;
    }
    
    .support-cta h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .support-cta p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .support-cta .cta-buttons {
        flex-direction: row;
        gap: 10px;
        flex-wrap: nowrap;
    }
    
    .support-cta .btn {
        min-width: 140px;
        font-size: 0.85rem;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .support-cta h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .support-cta p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .support-cta .btn {
        min-width: 105px;
        height: 38px;
        font-size: 0.75rem;
        padding: 10px 12px 10px 25px !important;
    }
    
    .support-cta .btn-primary::before,
    .support-cta .btn-outline::before {
        left: 8px !important;
        font-size: 0.7rem !important;
    }
    
    /* 작은 모바일에서 체크박스 라벨 폰트 크기 더 줄이기 */
    .checkbox-group label {
        font-size: 0.8rem;
    }
    
    /* 작은 모바일에서 validation 에러 메시지 더 작게 */
    span.error-message {
        font-size: 0.75rem !important;
        padding: 6px 10px !important;
        margin: 4px 0 8px 0 !important;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .tab-btn {
        padding: 10px 14px; /* 서비스 소개와 동일 */
        font-size: 0.85rem;
    }
    
    .support-content {
        padding: 20px 0; /* 서비스 소개와 동일 */
    }
}

/* 고객센터 페이지의 모든 섹션 하단 여백 강제 제거 */
.support-page-wrapper > section:last-child,
.support-page-wrapper .support-content:last-child,
.support-page-wrapper .blog-cta:last-child {
    margin-bottom: 0 !important;
    margin-top: 0;
}

/* 고객센터 푸터 상단 여백도 제거 */
.support-page-wrapper + .site-footer,
.support-page-wrapper ~ .site-footer {
    margin-top: 0 !important;
}

/* FAQ 하단 버튼 스타일 */
.faq-bottom-buttons {
    padding: 30px 20px; /* 좌우 패딩 추가 */
    border-top: 1px solid #e9ecef;
}

.faq-action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap; /* 줄바꿈 방지 */
    max-width: 100%;
}

.btn-sky {
    background: #00BCD4 !important;
    color: #fff !important;
    border: 2px solid #00BCD4 !important;
    padding: 12px 30px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
}

.btn-sky:hover {
    background: #0097A7 !important;
    border-color: #0097A7 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

/* 모바일 반응형 - 화면 크기에 맞게 조절 */
@media (max-width: 768px) {
    .faq-bottom-buttons {
        padding: 20px 15px;
    }
    
    .faq-action-buttons {
        gap: 10px;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .btn-sky {
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
        min-width: 0; /* min-width 제거 */
        flex: 1; /* 화면 크기에 맞게 자동 조절 */
        max-width: calc(50% - 5px); /* 절반 크기에서 gap의 절반 제거 */
    }
}

@media (max-width: 480px) {
    .faq-bottom-buttons {
        padding: 20px 10px;
    }
    
    .faq-action-buttons {
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .btn-sky {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
        min-width: 0;
        flex: 1;
        max-width: calc(50% - 4px); /* gap의 절반 제거 */
    }
}

@media (max-width: 320px) {
    .faq-bottom-buttons {
        padding: 15px 8px;
    }
    
    .faq-action-buttons {
        gap: 6px;
    }
    
    .btn-sky {
        padding: 8px 8px !important;
        font-size: 0.8rem !important;
        min-width: 0;
        flex: 1;
        max-width: calc(50% - 3px); /* gap의 절반 제거 */
    }
}

.faq-action-buttons .btn-inquiry {
    background: #4CAF50 !important;
    color: #fff !important;
    border: 2px solid #4CAF50 !important;
}
.faq-action-buttons .btn-inquiry:hover {
    background: #388E3C !important;
    border-color: #388E3C !important;
    color: #fff !important;
}

/* 관리자 답변 폼 스타일 */
.admin-reply-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #00BCD4;
    background: linear-gradient(135deg, #f8fffe, #e8f7f8);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    z-index: 10;
    /* 클릭 이벤트 차단을 위한 격리 */
    isolation: isolate;
}

.admin-reply-section h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00BCD4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-reply-section h6::before {
    content: "👨‍💼";
    font-size: 1.1rem;
}

.admin-reply-form {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.1);
}

.reply-form-group {
    margin-bottom: 15px;
}

.reply-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.reply-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    line-height: 1.5;
}

.reply-form-group textarea:focus {
    outline: none;
    border-color: #00BCD4;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.reply-form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.reply-form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 80px;
    justify-content: center;
}

.btn-small.btn-primary {
    background: #00BCD4;
    color: #fff;
}

.btn-small.btn-primary:hover:not(:disabled) {
    background: #00ACC1;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 188, 212, 0.3);
}

.btn-small.btn-primary:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

.btn-small.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(108, 117, 125, 0.3);
}

.reply-status {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.reply-status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.reply-status-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.reply-status-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 관리자 답변 폼 반응형 */
@media (max-width: 768px) {
    .admin-reply-section {
        padding: 15px;
        margin-top: 20px;
    }
    
    .admin-reply-form {
        padding: 15px;
    }
    
    .reply-form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .reply-form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .btn-small {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .reply-status {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .admin-reply-section h6 {
        font-size: 0.95rem;
    }
    
    .reply-form-group label {
        font-size: 0.85rem;
    }
    
    .reply-form-group textarea {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
    
    .btn-small {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* 수정/삭제 버튼 스타일 */
.btn-edit, .btn-delete {
    background: white !important;
    color: #333 !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
    padding: 2px 5px !important;
    margin-right: 4px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    line-height: 1.2 !important;
}

.btn-edit:hover {
    background: #f5f5f5 !important;
    border-color: #555 !important;
}

.btn-delete {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.btn-delete:hover {
    background: #dc3545 !important;
    color: white !important;
}

/* 더 구체적인 선택자로 버튼 크기 강제 적용 */
.inquiry-header-right .btn-edit.btn-tiny,
.inquiry-header-right .btn-delete.btn-tiny {
    padding: 2px 5px !important;
    margin-right: 4px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    min-width: auto !important;
    width: auto !important;
}

.btn-tiny {
    padding: 2px 5px !important;
    font-size: 11px !important;
    line-height: 1.2;
    font-weight: 500 !important;
}

/* 수정 모달 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.edit-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #00BCD4, #4CAF50);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 25px;
}

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

.edit-inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.edit-inquiry-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.edit-inquiry-form input,
.edit-inquiry-form select,
.edit-inquiry-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.edit-inquiry-form input:focus,
.edit-inquiry-form select:focus,
.edit-inquiry-form textarea:focus {
    outline: none;
    border-color: #00BCD4;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.edit-inquiry-form .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.edit-inquiry-form .checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: normal;
    cursor: pointer;
}

.edit-inquiry-form .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
}

.edit-inquiry-form .radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.edit-inquiry-form .radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.edit-inquiry-form .radio-group input[type="radio"] {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.modal-footer .btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 14px;
}

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

.modal-footer .btn-secondary:hover {
    background: #5a6268;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45A049);
    color: white;
}

.modal-footer .btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #45A049, #3d8b40);
    transform: translateY(-1px);
}

.modal-footer .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.edit-status {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid;
    font-weight: 500;
}

.edit-status-info {
    color: #1976d2;
    background: #e3f2fd;
    border-color: #90caf9;
}

.edit-status-success {
    color: #388e3c;
    background: #e8f5e8;
    border-color: #81c784;
}

.edit-status-error {
    color: #d32f2f;
    background: #ffebee;
    border-color: #e57373;
}

/* 4자리 비밀번호 필드 스타일 */
.form-divider {
    border-top: 2px solid #f0f0f0;
    margin-top: 25px;
    padding-top: 20px;
}

input[type="password"][maxlength="4"] {
    max-width: 200px;
    text-align: center;
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 4px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .edit-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .edit-inquiry-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .edit-inquiry-form .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    .btn-edit, .btn-delete {
        font-size: 10px;
        padding: 1px 3px;
        margin-right: 2px;
    }
    
    .edit-mode-banner {
        padding: 8px 15px;
    }
    
    .edit-mode-banner span {
        font-size: 14px;
    }
    
    .btn-cancel-edit {
        padding: 4px 8px;
        font-size: 12px;
    }
}

/* 수정 모드 표시 스타일 */
.edit-mode-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ff9800;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.edit-mode-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    font-weight: 600;
}

.edit-mode-banner span {
    font-size: 16px;
}

.btn-cancel-edit {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-cancel-edit:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

/* 페이지네이션 스타일 */
.inquiry-pagination {
    margin: 30px 0;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
}

.inquiry-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.inquiry-pagination .page-numbers:hover {
    background: #00BCD4;
    color: white;
    border-color: #00BCD4;
    text-decoration: none;
}

.inquiry-pagination .page-numbers.current {
    background: #00BCD4;
    color: white;
    border-color: #00BCD4;
    font-weight: 600;
}

.inquiry-pagination .page-numbers.prev,
.inquiry-pagination .page-numbers.next {
    font-weight: 600;
    padding: 8px 16px;
}

.inquiry-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: #666;
    cursor: default;
}

.inquiry-pagination .page-numbers.dots:hover {
    background: none;
    color: #666;
    border: none;
}

/* 문의 액션 버튼 섹션 */
.inquiry-action-section {
    text-align: center;
    margin: 30px 0;
    padding: 0;
}

.inquiry-action-section .btn-large {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    background: #00BCD4;
    color: white;
    text-transform: none;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.inquiry-action-section .btn-large:hover {
    background: #00ACC1;
    transform: translateY(-1px);
}

.inquiry-action-section .btn-large:active {
    transform: translateY(0);
    background: #0097A7;
}

/* 반응형 페이지네이션 */
@media (max-width: 768px) {
    .inquiry-pagination .page-numbers {
        padding: 6px 10px;
        margin: 0 2px;
        font-size: 13px;
    }
    
    .inquiry-pagination .page-numbers.prev,
    .inquiry-pagination .page-numbers.next {
        padding: 6px 12px;
    }
    
    .inquiry-action-section {
        margin: 20px 0;
        padding: 0;
    }
    
    .inquiry-action-section .btn-large {
        padding: 12px 24px;
        font-size: 15px;
        width: auto;
        min-width: 160px;
    }
}

/* 제출 메시지 스타일 */
.submission-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    padding: 0;
    margin: 0;
    animation: slideDown 0.3s ease-out;
}

.submission-message .message-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.success-message .message-content {
    background: linear-gradient(135deg, #4CAF50, #45A049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.error-message .message-content {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.message-icon {
    font-size: 18px;
    margin-right: 10px;
}

.message-text {
    flex: 1;
}

.message-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.message-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .submission-message .message-content {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .message-icon {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .message-close {
        width: 22px;
        height: 22px;
        font-size: 18px;
        margin-left: 10px;
    }
} 