/* 
 * VeicFlow - Custom Modern Dialogs CSS
 * Design System Kinetic Enterprise - Popups & Modais
 */

.vf-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 28, 45, 0.5); /* #111c2d + opacity */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
}

.vf-dialog-overlay.vf-active {
    opacity: 1;
    pointer-events: auto;
}

.vf-dialog-card {
    background-color: #ffffff;
    border-radius: 14px;
    width: 440px;
    max-width: 92%;
    padding: 28px 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: scale(0.92);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vf-dialog-overlay.vf-active .vf-dialog-card {
    transform: scale(1);
}

/* Ícones de Status */
.vf-dialog-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.vf-dialog-icon svg {
    width: 28px;
    height: 28px;
}

/* Tema de Sucesso (Verde) */
.vf-dialog-icon.vf-success {
    background-color: #dcfce7; /* Light Green */
    color: #16a34a; /* Green 600 */
}

/* Tema de Alerta / Perigo (Vermelho) */
.vf-dialog-icon.vf-danger {
    background-color: #fee2e2; /* Light Red */
    color: #ef4444; /* Red 500 */
}

/* Mensagem / Texto do Diálogo */
.vf-dialog-message {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.6;
    color: #1e293b; /* Slate 800 */
    margin-bottom: 26px;
    white-space: pre-wrap;
    text-align: center;
    padding: 0 10px;
}

/* Ações / Botões */
.vf-dialog-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.vf-dialog-btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 10px 24px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    outline: none;
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Botão Confirmar Sucesso */
.vf-dialog-btn.vf-btn-confirm.vf-success {
    background-color: #16a34a;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(22, 163, 74, 0.2);
}

.vf-dialog-btn.vf-btn-confirm.vf-success:hover {
    background-color: #15803d;
    transform: translateY(-1px);
}

/* Botão Confirmar Perigo */
.vf-dialog-btn.vf-btn-confirm.vf-danger {
    background-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.vf-dialog-btn.vf-btn-confirm.vf-danger:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
}

/* Botão Cancelar (Neutro) */
.vf-dialog-btn.vf-btn-cancel {
    background-color: #64748b; /* Slate 500 */
    color: #ffffff;
}

.vf-dialog-btn.vf-btn-cancel:hover {
    background-color: #475569; /* Slate 600 */
    transform: translateY(-1px);
}
