/* Sign-in screens (login, forgot and reset password): photo panel on the left,
   form panel on the right, matching the Hivelocity Internal Tools sign-in.
   Theme tokens come from css/style.css. */

.auth-split {
    display: flex;
    min-height: 100vh;
}

/* Left: data center photo with the tagline */
.auth-photo {
    position: relative;
    flex: 0 0 50%;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
    color: #fff;
    background: #111 url('../../images/login-datacenter.jpg') center / cover no-repeat;
}
.auth-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.45) 100%);
}
.auth-photo-copy {
    position: relative;
    max-width: 26rem;
}
.auth-photo-title {
    margin: 0 0 0.75rem;
    font-size: 1.875rem;
    font-weight: 300;
    line-height: 1.3;
}
.auth-photo-text {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.5;
    opacity: 0.92;
}

/* Right: logo, form, footer */
.auth-panel {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 2.5rem 1.5rem 1.5rem;
    background: var(--surface);
}
.auth-column {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}
.auth-logo {
    display: block;
    width: 178px;
}
.auth-logo svg {
    display: block;
    width: 100%;
    height: auto;
}
.auth-logo .cls-1 { fill: var(--brand); }
.auth-logo .cls-2 { fill: var(--text-2); }
.auth-body {
    padding-top: clamp(2.5rem, 13vh, 8.5rem);
    padding-bottom: 2rem;
}
.auth-title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.25;
    color: var(--text-2);
}
.auth-subtitle {
    margin: 0;
    color: var(--text-3);
}
.auth-divider {
    margin: 1.75rem 0;
    border: 0;
    border-top: 1px solid var(--border);
    opacity: 1;
}
.auth-body .form-control,
.auth-body .btn {
    border-radius: 3px;
}
.auth-body .form-control {
    padding: 0.625rem 0.75rem;
}
.auth-submit {
    width: 100%;
    padding: 0.625rem 1rem;
}
.auth-links {
    margin-top: 1.25rem;
}
.auth-links a {
    color: var(--text-3);
    text-decoration: none;
}
.auth-links a:hover {
    color: var(--text);
    text-decoration: underline;
}
.auth-footer {
    margin: auto 0 0;
    color: var(--text-3);
    font-size: 0.8125rem;
    text-align: center;
}

/* Phones and small tablets: form only */
@media (max-width: 991.98px) {
    .auth-photo {
        display: none;
    }
    .auth-body {
        padding-top: 2.5rem;
    }
}
@media (max-width: 480px) {
    .auth-panel {
        padding: 2rem 1rem 1.25rem;
    }
    .auth-title {
        font-size: 1.625rem;
    }
}
