/* Οθόνες σύνδεσης και επιλογής περιβάλλοντος, με κοινές διαστάσεις πεδίων. */
.auth-main {
    max-width: 560px;
}
.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 32px clamp(24px, 4.5vw, 80px);
}
.auth-brand {
    display: inline-flex;
    max-width: 55%;
}
.auth-brand img {
    width: 180px;
    max-width: 100%;
    height: auto;
}
.auth-screen-login {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100svh;
}
.auth-screen-login .auth-left {
    display: flex;
    flex-direction: column;
    background: var(--ui-surface);
    min-width: 0;
}
.auth-screen-login .auth-main {
    box-sizing: border-box;
    width: 100%;
    max-width: 498px;
    padding: 64px 24px;
    margin: auto;
}
.auth-screen-login .auth-main h1 {
    font-size: clamp(30px, 2.8vw, 42px);
    line-height: 1.2;
    letter-spacing: -1.2px;
    margin: 0 0 16px;
}
.auth-eyebrow {
    color: var(--ui-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.6px;
    margin: 0 0 22px;
}
.auth-intro {
    color: var(--ui-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 36px;
}
.auth-screen-login .auth-form-panel {
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
}
.auth-screen-login .auth-main form {
    gap: 24px;
    margin: 0;
}
.auth-screen-login .field {
    margin: 0;
}
.auth-screen-login .field label {
    font-size: 13px;
    font-weight: 600;
}
.auth-screen-login .auth-main input:not([type='checkbox']):not([type='hidden']) {
    min-height: 54px;
    padding: 14px 16px;
}
.auth-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}
.auth-password-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ui-muted);
    cursor: pointer;
}
.auth-password-toggle input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--ui-primary);
}
.auth-screen-login .auth-login-submit {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-weight: 600;
}
.auth-footer {
    padding: 24px;
    color: var(--ui-muted);
    text-align: center;
    font-size: 11px;
}
.auth-visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 720px;
    padding: clamp(32px, 4.5vw, 80px);
    color: #fff;
    background: #101522;
}
.auth-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
    z-index: -2;
}
.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0c132333 15%, #0e142866 45%, #0b1022f0 100%);
    z-index: -1;
}
.auth-visual-brand {
    position: absolute;
    top: 42px;
    right: 42px;
    width: 96px;
    max-width: calc(100% - 84px);
    height: auto;
}
.auth-hero-content {
    max-width: 480px;
    padding-top: 250px;
    padding-bottom: 50px;
}
.auth-hero-kicker {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
}
.auth-hero-content h2 {
    color: #fff;
    font-size: clamp(34px, 3.7vw, 56px);
    font-weight: 600;
    letter-spacing: -1.6px;
    line-height: 1.14;
    margin: 22px 0;
    text-wrap: balance;
}
.auth-hero-content > p:last-of-type {
    font-size: 15px;
    line-height: 1.8;
    max-width: 360px;
    color: #e0e2eb;
}
.auth-hero-accent {
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 30px;
    border-radius: 4px;
    background: linear-gradient(90deg, #007cff, #ff007d);
}
.auth-photo-credit {
    position: absolute;
    bottom: 24px;
    right: 28px;
    color: #e0e2eb;
    font-size: 10px;
}
@media (max-width: 767px) {
    .auth-screen-login {
        grid-template-columns: minmax(0, 1fr);
    }
    .auth-screen-login .auth-left {
        min-height: 100svh;
    }
    .auth-header {
        padding: 24px;
        gap: 12px;
    }
    .auth-brand img {
        width: 150px;
    }
    .auth-screen-login .auth-main {
        padding-block: 48px;
    }
    .auth-visual {
        min-height: 460px;
        padding: 36px 28px;
    }
    .auth-hero-content {
        padding-top: 140px;
        padding-bottom: 30px;
    }
    .auth-visual-brand {
        top: 28px;
        right: 28px;
        width: 72px;
    }
    .auth-hero-content h2 {
        font-size: 38px;
    }
}
.auth-main form {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}
.auth-main input:not([type='radio']):not([type='hidden']):not([type='checkbox']) {
    box-sizing: border-box;
    width: 100%;
    padding: var(--control-field-padding);
    font: inherit;
    border: 1px solid var(--ui-border, #b7ab9b);
    border-radius: var(--control-field-radius);
}
.auth-main button {
    border: 1px solid var(--ui-border, #77501a);
    border-radius: var(--control-button-radius);
    background: var(--ui-primary, #77501a);
    color: var(--ui-on-primary, white);
    min-height: 40px;
}
.auth-choice {
    padding: 14px;
    border: 1px solid var(--ui-border, #e2dcd3);
    border-radius: 6px;
}
.auth-error {
    color: var(--ui-error, #a12626);
}
.demo-session {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0;
}
.demo-session form {
    margin: 0;
}

.password-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.password-tools input {
    flex: 1 1 16rem;
    min-width: 0;
    box-sizing: border-box;
    padding: var(--control-field-padding);
    font: inherit;
    border: 1px solid var(--ui-border, #b9b0a5);
    border-radius: var(--control-field-radius);
}

.password-tools button {
    flex: 0 0 auto;
}
