/* Registration page. */

.auth-page {
    min-height: calc(100vh - 54px);
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 0, rgba(242, 90, 0, 0.12), transparent 260px),
        #100b08;
}

.auth-phone {
    width: min(100%, 430px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 38px 22px 42px;
    color: #ffffff;
}

.auth-card {
    width: 100%;
    padding: 0;
}

.auth-title {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.auth-subtitle {
    margin: 0 0 32px;
    color: #9eb0c7;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

#register-form {
    display: grid;
    gap: 22px;
}

.register-field-group {
    min-width: 0;
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-align: right;
}

.auth-field-control {
    position: relative;
}

.auth-field-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    color: #667890;
    z-index: 2;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-field {
    width: 100%;
    min-height: 51px;
    display: block;
    box-sizing: border-box;
    padding: 0 46px 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    outline: 0;
    background: #1c1917;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    box-shadow: none;
    appearance: none;
}

.auth-field:focus {
    border-color: rgba(242, 90, 0, 0.45);
    background: #1c1917;
    color: #ffffff;
    box-shadow: 0 0 0 2px rgba(242, 90, 0, 0.16);
}

.auth-field::placeholder {
    color: #33435b;
    opacity: 1;
}

.auth-account-note {
    color: #9eb0c7;
    font-size: 12px;
    font-weight: 500;
}

.auth-login-prompt {
    margin-top: 24px;
    text-align: center;
}

.auth-login-prompt .auth-link {
    margin-inline-start: 4px;
}

.register-legal {
    display: grid;
    margin-top: -4px;
}

.register-consent {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    margin: 0;
    color: #c4d1e2;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

.register-consent-text {
    margin: 0;
}

.auth-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    box-shadow: none;
}

.auth-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-family: inherit;
    cursor: pointer;
}
.auth-home-indicator {
    display: none;
}

@media (min-width: 768px) {
    .auth-page {
        min-height: calc(100vh - 56px);
    }

    .auth-phone {
        width: min(100%, 470px);
        padding: 54px 28px 56px;
    }

    .auth-title {
        font-size: 29px;
    }
}
