.auth-page {
    background: #f7f7f7;
    padding: 56px 0 48px;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
}

.auth-card-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(58, 40, 27, 0.14);
    padding: 32px 32px 30px;
}

.auth-card__header h2 {
    color: #3a281b;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.auth-trial-quick-action {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.auth-btn-trial-quick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    width: auto;
    max-width: 100%;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #fff;

    color: #8d4b18;
    box-shadow: 0 4px 10px rgba(58, 40, 27, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.auth-btn-trial-quick:hover {
    transform: translateY(-1px);
    background: #fff6ef;
    color: #7b3f13;
    box-shadow: 0 8px 16px rgba(58, 40, 27, 0.12);
}

.auth-btn-trial-quick:focus-visible {
    outline: 2px solid rgba(217, 135, 67, 0.35);
    outline-offset: 2px;
}

.auth-form-block .form-group {
    margin-bottom: 0;
}

.auth-form-block .connect_field {
    width: 100%;
    min-height: 54px;
    border-radius: 12px;
    border: 1px solid #e4e4e4;
    padding: 0 44px 0 16px;
    color: #2f2f2f;
}

.auth-forgot-link {
    margin-top: 12px;
    text-align: right;
}

.auth-forgot-link a {
    color: #3a281b;
    font-weight: 600;
    font-size: 1rem;
}

.auth-primary-action {
    margin-top: 22px;
    text-align: center;
}

.auth-btn-primary {
    width: 100%;
    min-height: 52px;
    border-radius: 12px;
}

.auth-separator {
    height: 1px;
    background: #ececec;
    margin: 28px 0 22px;
}

.auth-secondary-actions {
    margin-top: 24px;
    border: 1px solid #eadfd8;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff7f3 0%, #fff 100%);
    padding: 18px 16px 16px;
}

.auth-secondary-title {
    margin-bottom: 12px;
    text-align: center;
    color: #2f2f2f;
    font-weight: 600;
}

.auth-btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.auth-btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(58, 40, 27, 0.14);
}

.auth-btn-secondary--create {
    width: 100%;
    background: linear-gradient(180deg, #3f2d20 0%, #2f2118 100%);
    border: 1px solid #2f2118;
    color: #fff;
    box-shadow: 0 10px 20px rgba(58, 40, 27, 0.18);
}

.auth-secondary-actions .loader {
    margin: 14px auto 0;
}

@media (max-width: 767px) {
    .auth-page {
        padding: 36px 6px 34px;
        min-height: auto;
    }

    .auth-card {
        padding: 28px 18px;
        border-radius: 16px;
    }

    .auth-card__header h2 {
        font-size: 1.9rem;
    }

}

.account-create-card__header p {
    color: #6b5b50;
    font-size: 1rem;
    line-height: 1.5;
    margin: -8px 0 22px;
}

.account-create-form .form-group {
    position: relative;
}

.account-create-label {
    display: block;
    color: #3a281b;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.account-create-form .account_create_field {
    width: 100%;
    min-height: 54px;
    border-radius: 12px;
    border: 1px solid #e4e4e4;
    padding: 0 16px;
    color: #2f2f2f;
    background: #fff;
}

.account-create-form .form-group .icon + .account_create_field,
.account-create-form .form-group .icon {
    pointer-events: none;
}

.account-create-form .form-group .icon {
    position: absolute;
    right: 16px;
    bottom: 15px;
    color: #8d4b18;
}

.account-create-form input[type="email"].account_create_field {
    padding-right: 44px;
}

.account-create-message {
    border-radius: 12px;
    font-weight: 600;
    line-height: 1.45;
    padding: 12px 14px;
}

.account-create-message--error {
    background: #fff0f0;
    border: 1px solid #ffd4d4;
    color: #9d2525;
}

.account-create-message--success {
    background: #effaf1;
    border: 1px solid #ccefd2;
    color: #236b30;
}

.account-create-primary-action {
    margin-top: 6px;
}

@media (max-width: 767px) {
    .account-create-card__header p {
        font-size: 0.95rem;
    }
}
