/* Pagina de autentificare - layout in doua coloane (panou pine + formular pe bone) */

body.mts-login {
    margin: 0;
    min-height: 100vh;
    background: var(--bone);
}

/* Butonul adaugat de theme.js nu are stiluri pe aceasta pagina si lasa un spatiu sub grid. */
body.mts-login .scroll-to-top { display: none; }

.mts-login-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    min-height: 100vh;
}

/* ---------------------------------------------------------------- Panou stanga */
.mts-login-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
    padding: 48px clamp(32px, 5vw, 80px);
    background: var(--pine);
    color: var(--bone);
}
.mts-login-panel .grain { mix-blend-mode: overlay; opacity: 0.35; }
.mts-login-panel > * { position: relative; }

.mts-login-logo img { height: 96px; width: auto; }

.mts-login-pitch { max-width: 34rem; }
.mts-login-pitch .mts-eyebrow { color: var(--sage); }
.mts-login-pitch h1 {
    color: var(--bone);
    font-size: clamp(2.5rem, 4.6vw, 4.5rem);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin: 1.5rem 0 1.5rem;
}
.mts-login-pitch h1 span { color: var(--sage); }
.mts-login-lead {
    color: rgba(245, 244, 239, 0.72) !important;
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 2rem;
}
.mts-login-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(245, 244, 239, 0.12);
}
.mts-login-features li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(245, 244, 239, 0.12);
    font-size: 15px;
    color: rgba(245, 244, 239, 0.88);
}
.mts-login-features i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(156, 196, 168, 0.14);
    color: var(--sage);
    font-size: 15px;
}

.mts-login-support .mts-eyebrow { color: rgba(245, 244, 239, 0.55); margin-bottom: 0.35rem; }
.mts-login-support a {
    display: inline-block;
    color: var(--sage);
    font-size: 20px;
    text-decoration: none;
}
.mts-login-support a:hover { color: var(--bone); }

/* ---------------------------------------------------------------- Formular */
.mts-login-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}
.mts-login-card { width: 100%; max-width: 420px; }
.mts-login-card h2 {
    font-size: 2.25rem;
    font-weight: 300;
    letter-spacing: -0.035em;
    margin: 0 0 0.4rem;
}
.mts-login-card .mts-muted { margin-bottom: 2rem; }
.mts-login-card .form-group { margin-bottom: 1.25rem; }
.mts-login-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin: -0.25rem 0 1.75rem;
    font-size: 14px;
}
.mts-login-links a,
.show-form-login { color: var(--moss-bright); text-decoration: none; font-weight: 500; }
.mts-login-links a:hover,
.show-form-login:hover { color: var(--moss-deep); text-decoration: underline; }

.mts-login-card .btn-block { display: flex; align-items: center; justify-content: center; min-height: 52px; }

.mts-login-legal {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
    font-size: 12.5px;
    color: var(--ink-mute) !important;
}
.mts-login-legal a { color: var(--ink-mute); }

.mts-login-logo-mobile { display: none; }

/* ---------------------------------------------------------------- Mobil */
@media (max-width: 991px) {
    .mts-login-grid { grid-template-columns: 1fr; }
    .mts-login-panel { order: 2; padding: 40px 24px; gap: 2rem; }
    .mts-login-panel .mts-login-logo,
    .mts-login-features { display: none; }
    .mts-login-pitch h1 { font-size: 2.25rem; margin: 1rem 0; }
    .mts-login-form-wrap { order: 1; padding: 32px 16px 48px; }
    .mts-login-logo-mobile { display: block; margin-bottom: 2.5rem; }
    .mts-login-logo-mobile img { height: 72px; width: auto; }
}
