@charset "utf-8";

/* ========================== 환불규정 페이지 ========================== */
.refund_wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 페이지 헤더 */
.refund_header {
    text-align: center;
    padding: 60px 20px;
}

.refund_header .header_badge {
    display: inline-block;
    padding: 10px 24px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    border-radius: 30px;
    margin-bottom: 25px;
}

.refund_header .header_title {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.refund_header .header_desc {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
}

/* 핵심 안내 */
.refund_highlight {
    margin-bottom: 50px;
}

.highlight_card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 35px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f9b8e 100%);
    border-radius: 20px;
    color: #fff;
}

.highlight_icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight_icon i,
.highlight_icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
    stroke: #fff;
}

.highlight_content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.highlight_content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* 섹션 타이틀 */
.section_title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
}

.section_title i,
.section_title svg {
    width: 24px;
    height: 24px;
    color: #0f9b8e;
    stroke: #0f9b8e;
}

/* 환불 기준표 */
.refund_table_section {
    margin-bottom: 50px;
}

.table_container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.refund_table {
    width: 100%;
    border-collapse: collapse;
}

.refund_table th {
    background: #f8f9fa;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    text-align: center;
    border-bottom: 2px solid #eee;
}

.refund_table td {
    padding: 18px 20px;
    font-size: 15px;
    color: #555;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.refund_table tr:last-child td {
    border-bottom: none;
}

.category_cell {
    background: #fafafa;
    font-size: 15px;
}

.category_cell strong {
    color: #111;
}

.amount_cell {
    padding: 15px 20px;
}

.refund_rate {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.refund_rate.full {
    background: #e8f5e9;
    color: #2e7d32;
}

.refund_rate.high {
    background: #e3f2fd;
    color: #1976d2;
}

.refund_rate.mid {
    background: #fff3e0;
    color: #f57c00;
}

.refund_rate.low {
    background: #ffebee;
    color: #c62828;
}

.note_cell {
    background: #f8fffe;
    text-align: left !important;
    font-size: 13px;
    color: #0f9b8e;
    padding: 12px 20px;
}

.note_cell i,
.note_cell svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
}

.sub_header {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.detail_table_cell {
    padding: 0 !important;
}

.inner_table {
    width: 100%;
    border-collapse: collapse;
}

.inner_table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.inner_table tr:last-child td {
    border-bottom: none;
}

.inner_table td:first-child {
    text-align: left;
    padding-left: 30px;
    color: #666;
}

.inner_table td:last-child {
    text-align: right;
    padding-right: 30px;
}

/* 상세 규정 */
.refund_details {
    margin-bottom: 50px;
}

.details_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail_card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
}

.detail_card.warning {
    background: #fffbf5;
    border-color: #ffe0b2;
}

.detail_card .card_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.detail_card .card_icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f9b8e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail_card.warning .card_icon {
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
}

.detail_card .card_icon i,
.detail_card .card_icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
    stroke: #fff;
}

.detail_card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

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

.detail_card .card_list li {
    position: relative;
    padding: 10px 0 10px 22px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    border-bottom: 1px solid #f5f5f5;
}

.detail_card .card_list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail_card .card_list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: #0f9b8e;
    border-radius: 50%;
}

.detail_card.warning .card_list li::before {
    background: #f57c00;
}

.detail_card .card_list.numbered {
    counter-reset: step;
}

.detail_card .card_list.numbered li {
    padding-left: 32px;
}

.detail_card .card_list.numbered li::before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    height: 20px;
    background: #0f9b8e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 12px;
}

.detail_card .card_list li strong {
    color: #333;
}

/* 문의 안내 */
.refund_contact {
    margin-bottom: 80px;
}

.contact_card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 45px;
    background: #f8f9fa;
    border-radius: 20px;
}

.contact_content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.contact_content p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.contact_info {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.contact_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #0f9b8e 0%, #0d8377 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(15, 155, 142, 0.3);
}

.contact_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 155, 142, 0.4);
}

.contact_btn.secondary {
    background: #fff;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact_btn.secondary:hover {
    background: #f5f5f5;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.contact_btn i,
.contact_btn svg {
    width: 20px;
    height: 20px;
}

.contact_btn.secondary i,
.contact_btn.secondary svg {
    color: #0f9b8e;
    stroke: #0f9b8e;
}

/* ========================== 반응형 ========================== */
@media (max-width: 1024px) {
    .details_grid {
        grid-template-columns: 1fr;
    }

    .contact_card {
        flex-direction: column;
        text-align: center;
        padding: 35px 30px;
    }

    .contact_info {
        flex-direction: column;
        width: 100%;
    }

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

@media (max-width: 768px) {
    .refund_header {
        padding: 40px 15px;
    }

    .refund_header .header_title {
        font-size: 32px;
    }

    .refund_header .header_desc {
        font-size: 15px;
    }

    .refund_header .header_desc br {
        display: none;
    }

    .highlight_card {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

    .section_title {
        font-size: 20px;
    }

    .table_container {
        border-radius: 16px;
    }

    .refund_table th,
    .refund_table td {
        padding: 14px 12px;
        font-size: 13px;
    }

    .refund_rate {
        padding: 6px 12px;
        font-size: 12px;
    }

    .inner_table td:first-child {
        padding-left: 15px;
    }

    .inner_table td:last-child {
        padding-right: 15px;
    }

    .detail_card {
        padding: 24px 20px;
    }

    .detail_card h4 {
        font-size: 16px;
    }

    .contact_content p br {
        display: none;
    }
}

@media (max-width: 480px) {
    .refund_wrap {
        padding: 0 15px;
    }

    .refund_header {
        padding: 30px 10px;
    }

    .refund_header .header_badge {
        font-size: 11px;
        padding: 8px 18px;
    }

    .refund_header .header_title {
        font-size: 26px;
    }

    .refund_header .header_desc {
        font-size: 14px;
    }

    .highlight_card {
        padding: 25px 20px;
    }

    .highlight_icon {
        width: 50px;
        height: 50px;
    }

    .highlight_content h3 {
        font-size: 18px;
    }

    .highlight_content p {
        font-size: 13px;
    }

    .section_title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .section_title i,
    .section_title svg {
        width: 20px;
        height: 20px;
    }

    /* 모바일용 테이블 레이아웃 */
    .refund_table,
    .refund_table thead,
    .refund_table tbody,
    .refund_table th,
    .refund_table td,
    .refund_table tr {
        display: block;
    }

    .refund_table thead {
        display: none;
    }

    .refund_table tr {
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 12px;
        overflow: hidden;
    }

    .refund_table td {
        text-align: left;
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .refund_table td:last-child {
        border-bottom: none;
    }

    .category_cell {
        background: #f5f5f5;
    }

    .inner_table tr {
        margin-bottom: 0;
        border: none;
        border-radius: 0;
    }

    .inner_table td {
        display: block;
        text-align: left !important;
        padding: 10px 15px !important;
    }

    .inner_table td:last-child {
        padding-top: 0 !important;
    }

    .detail_card {
        padding: 20px 18px;
        border-radius: 14px;
    }

    .detail_card .card_icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .detail_card .card_list li {
        font-size: 13px;
        padding: 8px 0 8px 20px;
    }

    .refund_contact {
        margin-bottom: 60px;
    }

    .contact_card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .contact_content h3 {
        font-size: 20px;
    }

    .contact_content p {
        font-size: 14px;
    }

    .contact_btn {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 10px;
    }
}

@media (max-width: 380px) {
    .refund_header .header_title {
        font-size: 24px;
    }

    .highlight_content h3 {
        font-size: 17px;
    }

    .contact_content h3 {
        font-size: 18px;
    }
}
