/**
 * Bauchi State APM Empowerment Portal - Themed Custom Alert & Toast System
 * Colors: Deep Forest Green (#012f25, #024234), Vibrant Tangerine (#fc7d14, #e06909), Lemon Gold (#faf2a0)
 */

/* Alert Modal Styles */
.app-alert-modal .modal-content {
    border: none;
    border-radius: 18px;
    box-shadow: 0 20px 45px -10px rgba(1, 47, 37, 0.35), 0 0 0 1px rgba(1, 47, 37, 0.08);
    overflow: hidden;
    background: #FFFFFF;
}

.app-alert-modal .modal-backdrop.show {
    opacity: 0.65;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-color: #001712;
}

.app-alert-topbar {
    height: 6px;
    width: 100%;
    transition: background 0.3s ease;
}

.app-alert-topbar.type-info {
    background: linear-gradient(90deg, #012f25 0%, #024234 50%, #fc7d14 100%);
}

.app-alert-topbar.type-success {
    background: linear-gradient(90deg, #012f25 0%, #10b981 50%, #059669 100%);
}

.app-alert-topbar.type-warning {
    background: linear-gradient(90deg, #fc7d14 0%, #f59e0b 100%);
}

.app-alert-topbar.type-danger {
    background: linear-gradient(90deg, #b91c1c 0%, #ef4444 100%);
}

/* Icon Wrapper Badge */
.app-alert-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 0.85rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: appAlertPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes appAlertPop {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.app-alert-icon-wrap.type-info {
    background: rgba(1, 47, 37, 0.1);
    color: #012f25;
}

.app-alert-icon-wrap.type-success {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.app-alert-icon-wrap.type-warning {
    background: rgba(252, 125, 20, 0.12);
    color: #fc7d14;
}

.app-alert-icon-wrap.type-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

/* Alert Typography */
.app-alert-title {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.45rem;
}

.app-alert-message {
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
    word-break: break-word;
}

/* Alert Action Buttons */
.app-alert-btn-confirm {
    background: linear-gradient(135deg, #fc7d14 0%, #e06909 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 9px;
    padding: 0.55rem 1.35rem;
    border: none;
    box-shadow: 0 4px 12px rgba(252, 125, 20, 0.3);
    transition: all 0.2s ease;
    min-width: 110px;
}

.app-alert-btn-confirm:hover, .app-alert-btn-confirm:focus {
    background: linear-gradient(135deg, #e06909 0%, #c45703 100%);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(252, 125, 20, 0.45);
}

.app-alert-btn-confirm.theme-forest {
    background: linear-gradient(135deg, #012f25 0%, #024234 100%);
    box-shadow: 0 4px 12px rgba(1, 47, 37, 0.3);
}

.app-alert-btn-confirm.theme-forest:hover {
    background: linear-gradient(135deg, #001f18 0%, #012f25 100%);
    box-shadow: 0 6px 16px rgba(1, 47, 37, 0.45);
}

.app-alert-btn-cancel {
    background: #F1F5F9;
    color: #475569;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 9px;
    padding: 0.55rem 1.25rem;
    border: 1px solid #E2E8F0;
    transition: all 0.2s ease;
}

.app-alert-btn-cancel:hover {
    background: #E2E8F0;
    color: #1E293B;
}

/* Themed Toast Styles */
.app-theme-toast {
    background: linear-gradient(90deg, #012f25 0%, #024234 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(1, 47, 37, 0.4) !important;
    border-left: 5px solid #fc7d14 !important;
    overflow: hidden;
}

.app-theme-toast.type-success {
    border-left-color: #10b981 !important;
}

.app-theme-toast.type-danger {
    border-left-color: #ef4444 !important;
}

.app-theme-toast.type-warning {
    border-left-color: #fc7d14 !important;
}

.app-theme-toast .toast-body {
    padding: 0.85rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
}
