/* ============================================================
   CUTE ALERT — Obsidian & Gold Reskin
   ============================================================ */

/* ── BACKDROP ── */
.alert-wrapper {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

/* ── ALERT FRAME ── */
.alert-frame {
    background: #111111 !important;
    border: 1px solid rgba(197,160,89,0.2) !important;
    border-radius: 14px !important;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.8),
        0 0 0 1px rgba(255,255,255,0.03) inset !important;
    min-height: unset !important;
    width: 320px !important;
    overflow: hidden !important;
}

/* ── ALERT HEADER (colored band) ── */
.alert-header {
    height: 130px !important;
    border-radius: 0 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Override all type background colors */
.error-bg   { background: rgba(231, 76, 60, 0.15) !important; }
.success-bg { background: rgba(46, 204, 113, 0.12) !important; }
.warning-bg { background: rgba(197, 160, 89, 0.12) !important; }
.info-bg    { background: rgba(52, 152, 219, 0.12) !important; }
.question-bg { background: rgba(197, 160, 89, 0.10) !important; }

/* Colored top border per type */
.alert-header.error-bg    { border-top: 3px solid #E74C3C !important; }
.alert-header.success-bg  { border-top: 3px solid #2ECC71 !important; }
.alert-header.warning-bg  { border-top: 3px solid #C5A059 !important; }
.alert-header.info-bg     { border-top: 3px solid #3498DB !important; }
.alert-header.question-bg { border-top: 3px solid #C5A059 !important; }

/* ── ICON ── */
.alert-img {
    height: 64px !important;
    width: 64px !important;
    position: static !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)) !important;
}

/* ── CLOSE BUTTON ── */
.alert-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.5) !important;
    font-size: 11px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.alert-close:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.2) !important;
}

.alert-close-circle {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.5) !important;
    font-size: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin: 0 !important;
}

.alert-close-circle:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
}

/* ── BODY ── */
.alert-body {
    padding: 24px 24px 28px !important;
    background: #111111 !important;
}

/* ── TITLE ── */
.alert-title {
    font-size: 16px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    color: #F5F5F5 !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.3px !important;
    line-height: 1.3 !important;
}

/* ── MESSAGE ── */
.alert-message {
    font-size: 13.5px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,0.55) !important;
    margin-bottom: 24px !important;
    line-height: 1.65 !important;
}

/* ── BUTTONS ── */
.alert-button,
.confirm-button,
.cancel-button {
    height: 40px !important;
    border-radius: 8px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 24px !important;
    min-width: 120px !important;
}

/* Single action button — gold */
.alert-button {
    background: linear-gradient(135deg, #D4AF37, #C5A059, #9E7E3A) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(197,160,89,0.25) !important;
}

.alert-button:hover {
    opacity: 0.88 !important;
    box-shadow: 0 6px 22px rgba(197,160,89,0.35) !important;
    transform: translateY(-1px) !important;
}

/* Override type-specific btn hover colors */
.error-btn:hover,
.success-btn:hover,
.warning-btn:hover,
.info-btn:hover,
.question-btn:hover {
    background: linear-gradient(135deg, #D4AF37, #C5A059, #9E7E3A) !important;
    opacity: 0.88 !important;
}

/* Confirm button — gold */
.confirm-button {
    background: linear-gradient(135deg, #D4AF37, #C5A059, #9E7E3A) !important;
    color: #fff !important;
    margin-right: 8px !important;
}

.confirm-button:hover {
    opacity: 0.88 !important;
    transform: translateY(-1px) !important;
}

/* Cancel button — subtle */
.cancel-button {
    background: rgba(255,255,255,0.06) !important;
    color: rgba(255,255,255,0.55) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.cancel-button:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.2) !important;
    transform: translateY(-1px) !important;
}

.question-buttons {
    gap: 8px !important;
    justify-content: center !important;
}

/* ── LIGHT MODE ── */
html.lp-light .alert-frame {
    background: #ffffff !important;
    border-color: rgba(166,137,74,0.2) !important;
    box-shadow: 0 24px 60px rgba(0,0,0,0.15) !important;
}

html.lp-light .alert-body { background: #ffffff !important; }
html.lp-light .alert-title { color: #1a1a1a !important; }
html.lp-light .alert-message { color: #666 !important; }

html.lp-light .alert-close,
html.lp-light .alert-close-circle {
    background: rgba(0,0,0,0.05) !important;
    border-color: rgba(0,0,0,0.1) !important;
    color: #888 !important;
}

html.lp-light .cancel-button {
    background: rgba(0,0,0,0.04) !important;
    color: #666 !important;
    border-color: rgba(0,0,0,0.1) !important;
}

html.lp-light .cancel-button:hover {
    background: rgba(0,0,0,0.08) !important;
    color: #333 !important;
}

html.lp-light .error-bg   { background: rgba(231,76,60,0.07) !important; }
html.lp-light .success-bg { background: rgba(46,204,113,0.07) !important; }
html.lp-light .warning-bg { background: rgba(197,160,89,0.07) !important; }
html.lp-light .info-bg    { background: rgba(52,152,219,0.07) !important; }

/* ══════════════════════════════════════
   CUTE TOAST — Obsidian & Gold Reskin
   ══════════════════════════════════════ */
.toast-container {
    top: 20px !important;
    right: 20px !important;
    border-radius: 10px !important;
    box-shadow:
        0 16px 48px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.04) inset !important;
    overflow: hidden !important;
    min-width: 280px !important;
    max-width: 360px !important;
}

/* Override toast type backgrounds */
.toast-container.error-bg   { background: #1a0a0a !important; border-left: 3px solid #E74C3C !important; }
.toast-container.success-bg { background: #0a1a0f !important; border-left: 3px solid #2ECC71 !important; }
.toast-container.warning-bg { background: #1a1200 !important; border-left: 3px solid #C5A059 !important; }
.toast-container.info-bg    { background: #0a1020 !important; border-left: 3px solid #3498DB !important; }

.toast-frame {
    padding: 14px 16px !important;
    height: auto !important;
    min-height: 56px !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

.toast-img {
    height: 28px !important;
    width: 28px !important;
    flex-shrink: 0 !important;
}

.toast-message {
    font-size: 13px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.9) !important;
    margin-left: 0 !important;
    line-height: 1.5 !important;
    flex: 1 !important;
}

.toast-close {
    color: rgba(255,255,255,0.35) !important;
    font-size: 11px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    margin-left: 8px !important;
    width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 5px !important;
    background: rgba(255,255,255,0.06) !important;
    transition: all 0.2s !important;
    flex-shrink: 0 !important;
}

.toast-close:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.12) !important;
}

/* Timer bar */
.toast-timer { height: 3px !important; }
.error-timer   { background: rgba(231,76,60,0.5) !important; }
.success-timer { background: rgba(46,204,113,0.5) !important; }
.warning-timer { background: rgba(197,160,89,0.5) !important; }
.info-timer    { background: rgba(52,152,219,0.5) !important; }