.login-page,
.register-page {
    background-color: #090d13;
    background-image:
        linear-gradient(rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.7)),
        url('/images/login-bg.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

.login-box {
    width: min(788px, 70.5vw);
}

.login-logo {
    display: none;
}

.login-box .card {
    background: transparent;
    border: 0;
    box-shadow: none !important;
}

.login-box .card-body {
    padding: 0;
}

.login-box .card-header {
    display: none;
}

.sentinel-login-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    overflow: hidden;
    border: 1px solid #000;
    border-radius: 0;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

.sentinel-login-left {
    background: #000;
    color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.sentinel-login-logo {
    width: 50px;
    max-height: 70%;
    height: auto;
}

.sentinel-login-brand {
    color: #111827;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    align-self: flex-end;
    text-align: right;
    margin-bottom: calc(1rem + 40px);
}

.sentinel-login-right {
    background: #fff;
    color: #111827;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.sentinel-login-subtitle {
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.sentinel-login-step-user {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #374151;
}

.sentinel-login-right .input-group-text {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #6b7280;
}

.sentinel-login-right .form-control {
    background-color: #fff;
    border-color: #d1d5db;
    color: #111827;
}

.sentinel-login-right .form-control:focus {
    background-color: #fff;
    border-color: #6366f1;
    color: #111827;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
}

.sentinel-login-right .icheck-primary label {
    color: #374151;
}

.sentinel-login-links {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.sentinel-login-links a {
    color: var(--sentinel-blue);
    font-size: 0.92rem;
}

.sentinel-login-back-btn {
    color: var(--sentinel-blue);
    text-decoration: none;
}

.sentinel-login-links a:hover,
.sentinel-login-links a:focus,
.sentinel-login-back-btn:hover,
.sentinel-login-back-btn:focus {
    color: var(--sentinel-blue-hover);
}

@media (max-width: 900px) {
    .login-box {
        width: min(420px, 70.5vw);
    }

    .sentinel-login-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .sentinel-login-left {
        min-height: 140px;
        align-items: center;
    }

    .sentinel-login-links {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ABM Pasajeros: botones de acción cuadrados y separados */
.sentinel-passenger-actions {
    display: inline-flex;
    align-items: center;
}

.sentinel-passenger-actions > form {
    margin-left: 0.45rem;
}

.sentinel-icon-btn {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
    border-radius: 0.2rem;
}

.sentinel-icon-btn i {
    line-height: 1;
}

a.sentinel-icon-btn {
    text-decoration: none;
}

/* KPIs Automatizaciones: misma altura entre columnas */
.sentinel-kpi-row > [class*='col-'] {
    display: flex;
}

.sentinel-kpi-row .sentinel-kpi-box.small-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.sentinel-kpi-row .sentinel-kpi-box.small-box .inner {
    flex: 1 1 auto;
}

.sentinel-kpi-row .sentinel-kpi-inline-note {
    font-size: 0.88em;
    font-weight: 500;
    opacity: 0.92;
}

/* KPIs Pasajeros (negros): ver public/css/pasajeros-kpi.css — se incluye en la vista porque SentinelTheme suele estar desactivado. */
