﻿.app-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
}

.app-alert-icon-badge {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-alert-icon {
    width: 16px;
    height: 16px;
    display: block;
}

.app-alert-error {
    background: #FDECEA;
    color: #8A1F1F;
}
.app-alert-error .app-alert-icon-badge {
    background: #F6C6BE;
    color: #B3261E;
}

.app-alert-success {
    background: #E7F5EA;
    color: #1E4620;
}
.app-alert-success .app-alert-icon-badge {
    background: #BFE3C6;
    color: #1E7B34;
}

.app-alert-warning {
    background: #FDF1E3;
    color: #7A4A12;
}
.app-alert-warning .app-alert-icon-badge {
    background: #F6D9AE;
    color: #C2760A;
}

.app-alert-info {
    background: #E8F0FD;
    color: #1A3A6B;
}
.app-alert-info .app-alert-icon-badge {
    background: #C0D6F5;
    color: #1E5FBF;
}
/* Dark mode overrides */
[data-theme="dark"] .app-alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #FCA5A5;
}
[data-theme="dark"] .app-alert-error .app-alert-icon-badge {
    background: rgba(239, 68, 68, 0.22);
    color: #F87171;
}

[data-theme="dark"] .app-alert-success {
    background: rgba(34, 197, 94, 0.12);
    color: #86EFAC;
}
[data-theme="dark"] .app-alert-success .app-alert-icon-badge {
    background: rgba(34, 197, 94, 0.22);
    color: #4ADE80;
}

[data-theme="dark"] .app-alert-warning {
    background: rgba(245, 158, 11, 0.14);
    color: #FCD34D;
}
[data-theme="dark"] .app-alert-warning .app-alert-icon-badge {
    background: rgba(245, 158, 11, 0.24);
    color: #FBBF24;
}

[data-theme="dark"] .app-alert-info {
    background: rgba(59, 130, 246, 0.14);
    color: #93C5FD;
}
[data-theme="dark"] .app-alert-info .app-alert-icon-badge {
    background: rgba(59, 130, 246, 0.24);
    color: #60A5FA;
}
