/* Dialogo de confirmacion (reemplaza window.confirm). Ver js/confirm-dialog.js */
.akc-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(51, 60, 64, 0.55);
    animation: akc-fade 0.15s ease-out;
}
.akc-dialog {
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px;
    background: var(--ak-surface, #ffffff);
    color: var(--ak-text, #333c40);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    font-family: 'Lexend', system-ui, sans-serif;
    animation: akc-pop 0.18s ease-out;
}
.akc-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ak-accent-light, #ccfbec);
    color: var(--ak-accent, #1f785c);
}
.akc-danger .akc-icon { background: #fee4e2; color: var(--ak-danger-strong, #b42318); }
.akc-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}
.akc-body {
    margin: 0 0 20px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ak-text-muted, #5a6b73);
    white-space: pre-line;
}
.akc-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 20px;
}
.akc-body + .akc-actions { margin-top: 0; }
.akc-btn {
    min-height: 44px;
    min-width: 96px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.akc-cancel {
    background: var(--ak-surface, #ffffff);
    color: var(--ak-text, #333c40);
    border-color: var(--ak-border, #e2e5e7);
}
.akc-cancel:hover { background: var(--ak-bg, #f3f5f5); }
.akc-ok { background: var(--ak-accent, #1f785c); color: #ffffff; }
.akc-ok:hover { background: var(--ak-accent-dark, #175e49); }
.akc-danger .akc-ok { background: var(--ak-danger-strong, #b42318); }
.akc-danger .akc-ok:hover { background: #912018; }
@media (max-width: 480px) {
    .akc-actions { flex-direction: column-reverse; }
    .akc-btn { width: 100%; }
}
@keyframes akc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes akc-pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
