/* ------------------ */
/*  ESTILOS GENERALES */
/* ------------------ */

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Títulos estilo Notion */
h1, h2, h3, .title {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Subtítulos */
.subtitle, h4 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 500;
}

/* Inputs estilo Stripe */
input.form-control {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 10px 12px;
}

/* Botón estilo Stripe */
.btn-primary {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Colores principales */
:root {
    --fg-blue: #003b8e;
    --fg-light-blue: #005bd1;
    --fg-gray: #eef1f5;
    --fg-white: #ffffff;
    --fg-black: #1a1a1a;
    --fg-shadow: rgba(0,0,0,0.1);
}

/* ------------------ */
/*       LOGIN        */
/* ------------------ */

.login-container {
    width: 90%;
    max-width: 380px;
    margin: 80px auto;
    background: var(--fg-white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--fg-shadow);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 25px;
    color: var(--fg-blue);
    font-size: 1.8rem;
    font-weight: 700;
}

.login-container input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
}

.login-container input:focus {
    border-color: var(--fg-blue);
    box-shadow: 0 0 4px rgba(0, 59, 142, 0.4);
}

.login-container button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--fg-blue);
    color: white;
    font-size: 1.1rem;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.login-container button:hover {
    background: var(--fg-light-blue);
}

.error {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ------------------ */
/*     DASHBOARD      */
/* ------------------ */

h2 {
    text-align: center;
    color: var(--fg-blue);
    margin-top: 30px;
    font-size: 2rem;
    font-weight: 700;
}

p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Contenedor de las cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Cards */
.card {
    background: var(--fg-white);
    padding: 25px 20px;
    border-radius: 18px;
    box-shadow: 0 8px 22px var(--fg-shadow);
    text-align: center;
    text-decoration: none;
    color: var(--fg-black);
    font-size: 1.2rem;
    font-weight: 600;
    transition: 0.2s ease-in-out;
    border: 2px solid transparent;
}

/* Hover */
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-color: var(--fg-blue);
}

/* Title inside cards */
.card h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--fg-blue);
}

/* ------------------ */
/*     BOTONES / UI   */
/* ------------------ */

button, .btn {
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--fg-blue);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

button:hover, .btn:hover {
    background: var(--fg-light-blue);
}

table {
    width: 95%;
    margin: 30px auto;
    border-collapse: collapse;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--fg-shadow);
}

table th {
    background: var(--fg-blue);
    color: white;
    padding: 14px;
    font-size: 1rem;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

table tr:hover td {
    background: #f5f9ff;
}

/* ------------------ */
/*   RESPONSIVE       */
/* ------------------ */

@media(max-width: 600px) {
    .card {
        font-size: 1.1rem;
        padding: 20px;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* ============================
   LOGIN ADMIN LAYOUT
============================ */

/* Columna izquierda: solo en desktop */
@media (max-width: 767px) {
    .login-left {
        display: none !important;
    }
}

/* Imagen + overlay */
.login-left {
    background-image: url('../assets/img/bg_admin.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.login-left .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.login-left-content {
    position: relative;
    z-index: 2;
}

