.rb-auth-page {
    background: #f6f7f9;
    padding: 56px 16px 80px;
}

.rb-auth-card {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
    padding: 36px 32px 28px;
}

.rb-auth-card.is-wide {
    max-width: 520px;
}

.rb-auth-title {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eceff3;
    color: #111;
    font-family: Roboto, Arial, sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.rb-auth-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 52px;
    height: 3px;
    border-radius: 2px;
    background: #f5c518;
}

.rb-auth-lead {
    margin: 16px 0 22px;
    color: #8b93a7;
    font-size: 15px;
    line-height: 1.55;
}

.rb-auth-alert {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef3f2;
    color: #b42318;
    font-size: 14px;
}

.rb-auth-alert.is-success {
    background: #ecfdf3;
    color: #067647;
}

.rb-auth-field {
    margin-bottom: 16px;
}

.rb-auth-field > label,
.rb-auth-check {
    color: #1c1c1c;
    font-size: 14px;
    font-weight: 600;
}

.rb-auth-field > label {
    display: block;
    margin-bottom: 8px;
}

.rb-auth-input {
    position: relative;
}

.rb-auth-input .bi {
    position: absolute;
    top: 50%;
    left: 14px;
    color: #98a2b3;
    font-size: 16px;
    transform: translateY(-50%);
    pointer-events: none;
}

.rb-auth-input input,
.rb-auth-card select,
.rb-auth-card textarea {
    width: 100%;
    height: 48px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    color: #1c1c1c;
    font-size: 15px;
    padding: 0 44px;
}

.rb-auth-card textarea {
    height: auto;
    min-height: 96px;
    padding: 12px 14px;
}

.rb-auth-input input::placeholder {
    color: #b0b7c3;
}

.rb-auth-input input:focus,
.rb-auth-card select:focus,
.rb-auth-card textarea:focus {
    border-color: #184341;
    outline: none;
}

.rb-auth-eye {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #98a2b3;
    transform: translateY(-50%);
}

.rb-auth-error {
    margin-top: 6px;
    color: #b42318;
    font-size: 13px;
}

.rb-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rb-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 18px;
    font-size: 14px;
}

.rb-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

.rb-auth-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #184341;
}

.rb-auth-row a,
.rb-auth-foot a,
.rb-auth-agree a {
    color: #184341;
    font-weight: 700;
    text-decoration: none;
}

.rb-auth-foot a {
    white-space: nowrap;
}

.rb-auth-agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 16px;
    color: #475467;
    font-size: 14px;
    line-height: 1.45;
}

.rb-auth-agree input {
    margin-top: 3px;
    accent-color: #184341;
}

.rb-auth-submit {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: #184341;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.rb-auth-submit:hover {
    background: #123532;
    color: #fff;
}

.rb-auth-foot {
    margin: 22px 0 0;
    color: #667085;
    font-size: 14px;
    text-align: center;
}

.rb-auth-card .custom-field {
    margin-bottom: 16px;
}

@media (max-width: 560px) {
    .rb-auth-card {
        padding: 28px 18px 22px;
    }

    .rb-auth-title {
        font-size: 26px;
    }

    .rb-auth-grid {
        grid-template-columns: 1fr;
    }
}
