body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f0f4f8;
}
/* ===== Ocultar secciones ===== */
.hidden-section {
    display: none !important;
}


/* Contenedor principal */
.container {
    max-width: 100%;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Botones primarios */
.btn-primary {
    background-color: #3b82f6;
    color: white;
    padding: 0.8rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover { background-color: #2563eb; }

/* Botones secundarios */
.btn-secondary {
    background-color: #22c55e;
    color: white;
    padding: 0.8rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}
.btn-secondary:hover { background-color: #16a34a; }


/* Boton eliminar */

.btn-delate {
    background-color: #EB0000;
    color: white;
    padding: 0.8rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}
.btn-delate:hover { background-color: #BA0000; }


/* Botones avanzado */
.btn-avanced {
    background-color: #FF8A17;
    color: white;
    padding: 0.8rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}
.btn-avanced:hover { background-color: #F77A05; }

/* Botones encargado */
.btn-encargado {
    background-color: #B027F5;
    color: white;
    padding: 0.8rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}
.btn-encargado:hover { background-color: #8809C8; }

/* Inputs */
.input-field {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    margin-bottom: 0.5rem;
}
.input-field:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
th, td {
    padding-left: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0;
    padding-top: 0;
}
th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #4b5563;
}
tr:last-child td { border-bottom: none; }

/* Ocultar secciones */
.hidden-section { display: none; }

/* Mensajes de error */
.text-red-500 { color: #ef4444; }

/* Títulos */
h2 { color: #1e3a8a; }

/* Espaciado */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

/* Toasts */
#toast-container { pointer-events: none; }
.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
    max-width: 350px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    font-weight: 500;
    color: #fff;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateX(100%);
    pointer-events: auto;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.toast-success { background-color: #16a34a; }
.toast-error   { background-color: #dc2626; }
.toast-info    { background-color: #2563eb; }
.toast span:first-child { margin-right: 0.5rem; font-size: 1.2rem; }
.toast button {
    font-size: 1.2rem; line-height: 1;
    margin-left: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.toast button:hover { opacity: 1; }
