/* =============================================================
 * swal-skin.css — sweetalert v1 모달 디자인 오버라이드 (실험)
 *
 * 복구 방법:
 *   1. index.php 의 swal-skin.css <link> 라인 1줄 제거
 *   2. (또는) 이 파일 자체를 삭제
 * 원본 sweetalert.css/sweet-alert.css 는 건드리지 않음.
 * ============================================================= */

/* ── 오버레이: 살짝만 어둡게 (블러 약하게) ─────────────────────── */
.sweet-overlay {
    background: rgba(5, 8, 14, 0.5) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* ── 모달 박스: 반투명 + 사이트 로고 ──────────────────────────── */
.sweet-alert {
    background:
        url('/s_main/images/logo.png') no-repeat center 22px / auto 56px,
        linear-gradient(180deg, rgba(20, 26, 38, 0.92), rgba(11, 15, 22, 0.92)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.10) inset !important;
    padding-top: 100px !important;   /* 로고 자리 확보 */
    color: var(--color-text-primary, #e7eaf0);
}

/* ── 기본 sa-icon (체크/X/물음표) 숨김 — 로고로 대체 ────────── */
.sweet-alert .sa-icon {
    display: none !important;
}

/* ── 텍스트 톤 ──────────────────────────────────────────────── */
.sweet-alert h2 {
    color: var(--color-white, #fff) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    margin: 0 0 8px !important;
}
.sweet-alert p {
    color: var(--color-text-secondary, #c5cad4) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* ── 버튼: 사이트 brand 톤으로 ────────────────────────────────── */
.sweet-alert button.confirm {
    background: linear-gradient(180deg, var(--color-brand-bg, #4a36a8), var(--color-brand-dark, #322578)) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--color-brand, #6a4ed4) !important;
    border-radius: 3px !important;
    color: var(--color-white, #fff) !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    font-weight: 600;
    transition: filter .15s ease;
}
.sweet-alert button.confirm:hover {
    filter: brightness(1.08);
    background: linear-gradient(180deg, var(--color-brand-bg, #4a36a8), var(--color-brand-dark, #322578)) !important;
}
.sweet-alert button.cancel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 3px !important;
    color: var(--color-text-secondary, #c5cad4) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
.sweet-alert button.cancel:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)) !important;
}
