/* ============================= */
/* ESTILOS GENERALES DE LA APP */
/* ============================= */

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

a, .btn-link {
    color: #006bb7;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1rem;
}

h1:focus {
    outline: none;
}

/* Validación general (no afecta login porque login.css tendrá !important) */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

/* Toast system */
.toast-container {
    position: fixed;
    top: 90px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999;
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    padding: 14px 16px;
    border-radius: 12px;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: slideInRight 0.4s ease;
}

.toast-icon i {
    font-size: 20px;
}

.toast-message {
    flex: 1;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.toast-success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.toast-error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.toast-warning {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.toast-info {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
