.gsc-auth-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        max(24px, env(safe-area-inset-top))
        22px
        max(24px, env(safe-area-inset-bottom));
    background: #f4f5f7;
}

.gsc-auth-logo {
    display: block;
    width: 92px;
    height: auto;
    margin: 0 auto 18px;
    border-radius: 22px;
}

.gsc-auth-card {
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    border: 1px solid #dfe2e6;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 18, 45, 0.12);
}

.gsc-auth-header {
    padding: 30px 24px 24px;
    text-align: center;
}

.gsc-auth-mark {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px;
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
}

.gsc-auth-header h1 {
    margin: 0;
    color: #06285a;
    font-size: 27px;
    font-weight: 750;
    line-height: 1.15;
}

.gsc-auth-header p {
    margin: 10px 0 0;
    color: var(--gsc-text-muted);
    font-size: 17px;
}

.gsc-auth-form {
    display: grid;
    gap: 18px;
    padding: 0 24px 28px;
}

.gsc-auth-field {
    display: grid;
    gap: 8px;
}

.gsc-auth-field > span {
    color: #06285a;
    font-size: 16px;
    font-weight: 650;
}

.gsc-auth-field input {
    width: 100%;
    min-height: 56px;
    padding: 0 15px;
    border: 1px solid #cfd4dc;
    border-radius: 12px;
    outline: 0;
    background: #ffffff;
    color: var(--gsc-text);
    font-size: 18px;
    appearance: none;
    -webkit-appearance: none;
}

.gsc-auth-field input:focus {
    border-color: var(--gsc-green);
    box-shadow: 0 0 0 3px rgba(7, 91, 53, 0.13);
}

.gsc-auth-error {
    margin: -4px 0 0;
    padding: 11px 13px;
    border-radius: 10px;
    background: #fff2f1;
    color: #a1261d;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.gsc-auth-submit:disabled {
    opacity: 0.68;
    cursor: wait;
}

.gsc-auth-access-content {
    padding: 0 28px 32px;
    text-align: center;
}

.gsc-auth-access-content h2 {
    margin: 0 0 12px;
    color: #06285a;
    font-size: 23px;
    font-weight: 750;
}

.gsc-auth-access-content p {
    margin: 0;
    color: var(--gsc-text-muted);
    font-size: 17px;
    line-height: 1.5;
}

.gsc-auth-logout {
    width: 100%;
    margin-top: 24px;
}

.gsc-auth-logout:disabled {
    cursor: wait;
    opacity: 0.68;
}

.gsc-auth-logout-error {
    margin-top: 14px;
    text-align: left;
}

@media (max-width: 390px) {
    .gsc-auth-screen {
        padding-inline: 16px;
    }

    .gsc-auth-header {
        padding-inline: 20px;
    }

    .gsc-auth-form {
        padding-inline: 20px;
    }

    .gsc-auth-header h1 {
        font-size: 25px;
    }
}