/**
 * 고객센터 전용 스타일시트
 * 두손기획인쇄 Customer Center Styles
 */

/* ==================== 고객센터 컨테이너 ==================== */
.customer-center-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

/* ==================== 사이드바 스타일 ==================== */
.customer-sidebar {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-header {
    padding: 0 30px 20px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.sidebar-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 8px 0;
}

.sidebar-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.sidebar-menu {
    padding: 0;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    margin: 0;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.menu-link:hover {
    background: #f8f9fa;
    color: #2196F3;
    border-left-color: #2196F3;
}

.menu-item.active .menu-link {
    background: #e3f2fd;
    color: #2196F3;
    font-weight: 600;
    border-left-color: #2196F3;
}

.menu-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.menu-text {
    font-size: 15px;
}

.sidebar-contact {
    margin-top: 30px;
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.sidebar-contact h3 {
    font-size: 16px;
    margin: 0 0 15px 0;
    color: #333;
}

.contact-item {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.contact-item strong {
    color: #333;
    display: block;
    margin-bottom: 4px;
}

/* ==================== 메인 콘텐츠 ==================== */
.customer-content {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #2196F3;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Content Header */
.content-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.content-header h1 {
    font-size: 32px;
    color: #333;
    margin: 0 0 10px 0;
}

.content-header .subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.content-body {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

/* ==================== FAQ 페이지 스타일 ==================== */

/* 검색 박스 */
.faq-search-box {
    margin-bottom: 30px;
}

.faq-search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.faq-search-input:focus {
    outline: none;
    border-color: #2196F3;
}

/* 카테고리 탭 */
.faq-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 20px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-tab:hover {
    background: #e3f2fd;
    border-color: #2196F3;
    color: #2196F3;
}

.category-tab.active {
    background: #2196F3;
    color: #fff;
    border-color: #2196F3;
}

.tab-icon {
    font-size: 16px;
}

/* FAQ 아이템 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s;
}

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

.faq-item.active .faq-question {
    background: #f0f7ff;
}

.category-badge {
    flex-shrink: 0;
    padding: 6px 12px;
    background: #e3f2fd;
    color: #2196F3;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.faq-question h3 {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.toggle-icon {
    flex-shrink: 0;
    color: #999;
    font-size: 12px;
    transition: transform 0.2s;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0 0 15px 0;
    line-height: 1.7;
}

.faq-feedback {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-feedback p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.feedback-btn {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.feedback-btn:hover {
    background: #f5f5f5;
}

.feedback-btn.helpful:hover {
    background: #e8f5e9;
    border-color: #4CAF50;
}

.feedback-btn.not-helpful:hover {
    background: #ffebee;
    border-color: #f44336;
}

/* FAQ 도움 섹션 */
.faq-help-section {
    margin-top: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.faq-help-section h2 {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: #333;
}

.faq-help-section p {
    font-size: 15px;
    color: #666;
    margin: 0 0 25px 0;
}

.help-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== 입금계좌 페이지 스타일 ==================== */

/* 계좌 카드 */
.account-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.account-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.account-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.2s;
}

.account-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.account-card.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
}

.bank-logo {
    font-size: 36px;
}

.account-info h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
}

.account-card.primary .account-info h3 {
    color: #fff;
}

.account-number {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    margin: 5px 0;
}

.account-holder {
    font-size: 14px;
    color: #666;
}

.account-card.primary .account-holder {
    color: rgba(255, 255, 255, 0.9);
}

.btn-copy {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.account-card.primary .btn-copy {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-copy:hover {
    background: #2196F3;
    color: #fff;
    border-color: #2196F3;
}

/* 결제 방법 */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.payment-method {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.method-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.payment-method h3 {
    font-size: 18px;
    margin: 0 0 15px 0;
    color: #333;
}

.payment-method ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.payment-method li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.payment-method li:before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #2196F3;
}

/* 주의사항 */
.notice-section {
    margin: 40px 0;
}

.notice-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 25px;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

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

.notice-list li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 0;
}

.notice-list strong {
    display: block;
    color: #856404;
    margin-bottom: 5px;
    font-size: 16px;
}

.notice-list p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

/* 세금계산서 */
.tax-invoice-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.info-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    flex: 0 0 150px;
    font-weight: 600;
    color: #333;
}

.info-value {
    flex: 1;
    color: #666;
}

.tax-help {
    margin-top: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 6px;
    text-align: center;
}

.tax-help p {
    margin: 0;
    color: #1976d2;
}

.tax-help a {
    color: #1976d2;
    text-decoration: underline;
}

/* ==================== 홈페이지 이용방법 페이지 ==================== */

/* 가이드 섹션 */
.guide-section {
    margin-bottom: 50px;
}

.guide-section .section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2196F3;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}

.section-content {
    padding: 25px 0;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.info-box p {
    margin: 0 0 10px 0;
}

.info-box p:last-child {
    margin: 0;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefit-list li {
    padding: 10px 0;
    font-size: 15px;
}

.action-box {
    margin: 25px 0;
    text-align: center;
}

/* 프로세스 플로우 */
.process-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.process-step {
    flex: 0 0 180px;
    text-align: center;
    background: #f8f9fa;
    padding: 25px 15px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 16px;
    margin: 0 0 10px 0;
    color: #333;
}

.process-step p {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
}

.process-step ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #888;
}

.process-step ul li {
    margin: 5px 0;
}

.arrow {
    font-size: 24px;
    color: #2196F3;
}

/* 파일 포맷 */
.file-formats {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.format-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.format-item.recommended {
    background: #fff3e0;
    border-color: #ff9800;
}

.format-icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.format-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.format-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box h4 {
    margin: 0 0 15px 0;
    color: #856404;
}

.warning-box ul {
    margin: 0;
    padding-left: 20px;
}

.warning-box li {
    color: #856404;
    margin: 8px 0;
}

/* 주문 상태 테이블 */
.status-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.status-table th,
.status-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.status-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.status-badge.pending {
    background: #fff3e0;
    color: #f57c00;
}

.status-badge.processing {
    background: #e3f2fd;
    color: #1976d2;
}

.status-badge.shipping {
    background: #e8f5e9;
    color: #388e3c;
}

.status-badge.completed {
    background: #f3e5f5;
    color: #7b1fa2;
}

.text-success {
    color: #4CAF50;
    font-weight: 600;
}

.text-danger {
    color: #f44336;
    font-weight: 600;
}

.step-list {
    padding-left: 20px;
}

.step-list li {
    margin: 10px 0;
}

/* 관련 링크 */
.related-links {
    margin-top: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.related-links h2,
.related-links h3 {
    margin: 0 0 25px 0;
    color: #333;
}

.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.link-card {
    display: block;
    padding: 30px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.link-card:hover {
    border-color: #2196F3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.link-card h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #333;
}

.link-card p {
    font-size: 14px;
    margin: 0;
    color: #666;
}

.link-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== 버튼 스타일 ==================== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #2196F3;
    color: #fff;
}

.btn-primary:hover {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.btn-secondary {
    background: #fff;
    color: #2196F3;
    border: 2px solid #2196F3;
}

.btn-secondary:hover {
    background: #2196F3;
    color: #fff;
}

/* ==================== 반응형 디자인 ==================== */
@media (max-width: 1024px) {
    .customer-center-container {
        flex-direction: column;
    }

    .customer-sidebar {
        position: static;
        width: 100%;
    }

    .process-flow {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .customer-content {
        padding: 20px;
    }

    .content-header h1 {
        font-size: 24px;
    }

    .faq-categories {
        flex-direction: column;
    }

    .category-tab {
        width: 100%;
        justify-content: center;
    }

    .account-cards,
    .payment-methods,
    .link-cards {
        grid-template-columns: 1fr;
    }

    .info-row {
        flex-direction: column;
        gap: 5px;
    }

    .info-label {
        flex: none;
    }
}
