/**
 * v7/adv/massage.css
 * v7 마사지 배너 광고 안내 페이지 전용 CSS
 *
 * Web Awesome Pro + Font Awesome 7 기반, Bootstrap 미사용.
 * 라이트 모드 전용.
 *
 * @see v7/adv/massage.php
 */

/* ===== 페이지 헤더 ===== */
.massage-page-header {
    text-align: center;
    padding: 1.5rem 0 1rem;
}

.massage-page-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.massage-page-header h1 i {
    color: #6366f1;
    margin-right: 0.5rem;
}

.massage-page-desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* ===== 공지 박스 ===== */
.massage-notice-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #eff6ff;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.massage-notice-box > i {
    color: #3b82f6;
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.massage-notice-box p {
    margin: 0;
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.5;
}

/* ===== 스파 안내 ===== */
.massage-spa-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #fefce8;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.massage-spa-notice i {
    color: #eab308;
    flex-shrink: 0;
}

.massage-spa-notice span {
    font-size: 0.82rem;
    color: #713f12;
    line-height: 1.4;
}

/* ===== 배너 카드 그리드 ===== */
.massage-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .massage-banner-grid {
        grid-template-columns: 1fr;
    }
}

.massage-banner-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.massage-banner-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.banner-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
}

.banner-card-header.square-header {
    background: #f0fdf4;
}

.banner-card-header.small-header {
    background: #eff6ff;
}

.banner-card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.85rem;
}

.banner-card-icon.square-icon {
    background: #dcfce7;
    color: #16a34a;
}

.banner-card-icon.small-icon {
    background: #dbeafe;
    color: #2563eb;
}

.banner-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.banner-card-body {
    padding: 0.75rem 1rem 1rem;
}

.banner-card-desc {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.banner-card-image {
    background: #f9fafb;
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
}

.banner-card-image img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.banner-price-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.banner-price-badge.square-price {
    background: #f0fdf4;
    color: #16a34a;
}

.banner-price-badge.small-price {
    background: #eff6ff;
    color: #2563eb;
}

.banner-price-duration {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
}

/* ===== 규정 섹션 ===== */
.massage-rules-section {
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.rules-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #eef2ff;
}

.rules-header i {
    color: #6366f1;
}

.rules-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #312e81;
    margin: 0;
}

.rules-header p {
    font-size: 0.78rem;
    color: #6366f1;
    margin: 0 0 0 auto;
}

.rules-body {
    padding: 1rem;
}

.rule-group {
    margin-bottom: 1rem;
}

.rule-group:last-child {
    margin-bottom: 0;
}

.rule-group-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rule-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6366f1;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.rule-group-title span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

.rule-items {
    list-style: none;
    margin: 0;
    padding: 0 0 0 2.25rem;
}

.rule-items li {
    position: relative;
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.55;
    padding: 0.15rem 0;
}

.rule-items li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: #9ca3af;
}

.rule-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 0.75rem 0;
}

/* ===== 환불/일시정지 정보 카드 ===== */
.massage-info-card {
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.massage-info-card.refund-card {
    background: #fff;
    border-left: 3px solid #f59e0b;
}

.massage-info-card.pause-card {
    background: #fff;
    border-left: 3px solid #06b6d4;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.info-card-header i {
    font-size: 1rem;
}

.info-card-header.refund-header i {
    color: #f59e0b;
}

.info-card-header.pause-header i {
    color: #06b6d4;
}

.info-card-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.info-card-body {
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.5;
}

.refund-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.refund-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    min-width: 3rem;
    text-align: center;
}

.refund-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.refund-badge.danger {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== 입금 정보 ===== */
.massage-payment-section {
    margin-bottom: 1.5rem;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.payment-header i {
    color: #6366f1;
}

.payment-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.payment-notice {
    font-size: 0.82rem;
    color: #dc2626;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

.payment-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.payment-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
}

.payment-card-header.krw-header {
    background: #eff6ff;
}

.payment-card-header.php-header {
    background: #f0fdf4;
}

.payment-card-header i {
    font-size: 0.9rem;
}

.payment-card-header.krw-header i {
    color: #2563eb;
}

.payment-card-header.php-header i {
    color: #16a34a;
}

.payment-card-header span.bank-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1f2937;
}

.payment-currency-badge {
    margin-left: auto;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.payment-currency-badge.krw-badge {
    background: #dbeafe;
    color: #1d4ed8;
}

.payment-currency-badge.php-badge {
    background: #dcfce7;
    color: #15803d;
}

.payment-card-body {
    padding: 0.6rem 0.75rem;
}

.payment-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
}

.payment-field:last-child {
    margin-bottom: 0;
}

.payment-label {
    color: #6b7280;
}

.payment-value {
    color: #1f2937;
    font-weight: 500;
}

.copy-btn {
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
    color: #6b7280;
    cursor: pointer;
    margin-left: 0.4rem;
    transition: all 0.15s;
}

.copy-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* ===== 카카오톡 안내 링크 ===== */
.massage-kakao-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #fbbf24;
    background: #fffbeb;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
}

.massage-kakao-link:hover {
    background: #fef3c7;
}

.kakao-icon-circle {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fbbf24;
    flex-shrink: 0;
}

.kakao-icon-circle i {
    font-size: 1.1rem;
    color: #451a03;
}

.kakao-text {
    flex: 1;
    min-width: 0;
}

.kakao-text-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: #78350f;
}

.kakao-text-sub {
    font-size: 0.78rem;
    color: #92400e;
}

.kakao-arrow {
    color: #f59e0b;
    flex-shrink: 0;
}

/* ===== 마케팅 메시지 ===== */
.massage-marketing {
    background: #eef2ff;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.marketing-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.marketing-header i {
    color: #4f46e5;
}

.marketing-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #312e81;
    margin: 0;
}

.marketing-desc {
    font-size: 0.85rem;
    color: #4338ca;
    line-height: 1.55;
    margin: 0;
}
