/** ===========================
    Estilos base del sistema
=========================== **/

/* Fondo general */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(to bottom, #1f4fa3, #7ec8e3);
    font-family: Arial, sans-serif;
}

/* Botones genéricos */
.btn-guardar {
    background: #00992a;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
.btn-guardar:hover {
    background: #00cc44;
}

.btn-volver {
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.btn-volver:hover {
    background: rgba(255,255,255,0.25);
}

/* Inputs genéricos */
input, select {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* AJAX mensajes */
.ajax-msg {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    display: none;
}
.ajax-ok {
    display: block;
    background: rgba(0, 255, 100, 0.15);
    border: 1px solid #00ff66;
    color: #00ff66;
}
.ajax-error {
    display: block;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid #ff4444;
    color: #ff4444;
}
.modal input,
.modal select {
    color: #00ff00 !important;   /* verde Matrix */
    background-color: #111;      /* fondo oscuro */
    border: 1px solid #00ff00;
}
/* ===========================
   TOAST GLOBAL
   =========================== */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #c62828;
    color: white;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease, transform .4s ease;
    transform: translateY(20px);
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}
