/* ═══════════════════════════════════════════════════════════════
   ROMPODA STATS — Login (clon visual del back office)
   ═══════════════════════════════════════════════════════════════ */

.rs-login-body {
    min-height: 100vh;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* ─── Top bar (Volver a Rompoda) ─────────────────── */
.rs-login__top {
    padding: 28px 40px 0;
}

.rs-login__back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #64748B;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 150ms ease;
}
.rs-login__back:hover { color: #2563EB; }
.rs-login__back svg { color: currentColor; }

/* ─── Main panel ─────────────────────────────────── */
.rs-login__main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 40px 40px 0;
}

.rs-login__panel {
    width: 100%;
    max-width: 480px;
    padding-left: 40px;
}

/* ─── Brand (logo horizontal) ────────────────────── */
.rs-login__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 64px;
}

.rs-login__brand-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: block;
}

.rs-login__brand-text {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #2563EB;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* ─── Title ──────────────────────────────────────── */
.rs-login__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 56px;
    color: #0F172A;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 16px;
}

.rs-login__subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #64748B;
    margin: 0 0 40px;
    line-height: 1.5;
}

/* ─── Form ───────────────────────────────────────── */
.rs-login__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rs-login__field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rs-login__label {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
}

.rs-login__input {
    width: 100%;
    height: 56px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #F1F5F9;
    color: #0F172A;
    font-family: inherit;
    font-size: 16px;
    transition: all 150ms ease;
    box-shadow: none;
}

.rs-login__input:hover {
    background: #E2E8F0;
}

.rs-login__input:focus {
    outline: 0;
    background: #FFFFFF;
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.rs-login__input::placeholder {
    color: #94A3B8;
}

/* ─── Submit button ──────────────────────────────── */
.rs-login__submit {
    height: 56px;
    margin-top: 8px;
    background: #2563EB;
    color: #FFFFFF;
    border: 0;
    border-radius: 9999px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 150ms ease;
    text-transform: uppercase;
}

.rs-login__submit:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.rs-login__submit:active {
    transform: translateY(0);
}

/* ─── Row con remember + forgot ──────────────────── */
.rs-login__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.rs-login__remember {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #64748B;
}

.rs-login__remember input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rs-login__checkbox-box {
    width: 20px;
    height: 20px;
    border: 1.5px solid #CBD5E1;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background: #FFFFFF;
    transition: all 120ms ease;
    flex: 0 0 20px;
}

.rs-login__remember:hover .rs-login__checkbox-box {
    border-color: #2563EB;
}

.rs-login__remember input:checked + .rs-login__checkbox-box {
    background: #2563EB;
    border-color: #2563EB;
    color: #FFFFFF;
}

.rs-login__forgot {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #2563EB;
    font-weight: 600;
    text-decoration: none;
    transition: color 120ms ease;
}

.rs-login__forgot:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* ─── Error ──────────────────────────────────────── */
.rs-login__error {
    padding: 14px 16px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 12px;
    color: #991B1B;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    margin-top: 8px;
}

/* ─── Footer ─────────────────────────────────────── */
.rs-login__footer-copyright {
    text-align: center;
    padding: 32px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    color: #94A3B8;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
    .rs-login__top { padding: 20px 24px 0; }
    .rs-login__main { padding: 32px 24px 0; }
    .rs-login__panel { padding-left: 0; }
    .rs-login__title { font-size: 40px; }
    .rs-login__brand-text { font-size: 22px; }
    .rs-login__brand-icon { width: 32px; height: 32px; flex: 0 0 32px; }
}
