/* /assets/css/alert.css */

.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999; /* Fica por cima de absolutamente tudo */
    display: none; /* Inicia oculto */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.custom-alert-box {
    background-color: var(--bg-panel);
    border: 1px solid var(--primary-orange);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 123, 0, 0.2);
    text-align: center;
    overflow: hidden;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.custom-alert-header {
    background-color: var(--bg-panel-light);
    color: var(--primary-orange);
    font-weight: 900;
    font-style: italic;
    font-size: 1.1rem;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 123, 0, 0.3);
    text-transform: uppercase;
}

.custom-alert-body {
    padding: 20px;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

.custom-alert-footer {
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
}

.btn-alert-ok {
    background: linear-gradient(135deg, var(--primary-orange), #d84315);
    border: none;
    color: #fff;
    padding: 10px 30px;
    font-weight: bold;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
}

.btn-alert-ok:active {
    transform: scale(0.95);
}