﻿.auth-register-page {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px 20px;
}

.register-auth {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
}

.register-auth .welcome-section {
    justify-content: flex-start;
    padding-top: 56px;
    padding-bottom: 56px;
}

.register-auth .form-section {
    max-height: none;
    overflow: visible;
    padding: 34px 34px 28px;
}

.register-auth .form-header {
    margin-bottom: 14px;
}

.register-auth .form-header h2 {
    font-size: 24px;
    margin-bottom: 4px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-block {
    border: 1px solid #dde6f3;
    border-radius: 10px;
    padding: 12px;
    background: #fcfdff;
}

.block-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a2a43;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.form-group {
    margin-bottom: 0;
}

.register-auth label {
    margin-bottom: 6px;
    font-size: 12px;
    color: #1f2937;
}

.register-auth input,
.register-auth textarea,
.register-auth select {
    width: 100%;
    border-radius: 8px;
    border: 1.5px solid #c8d5e8;
    background: #f9fbff;
    color: #1b2430;
    font-size: 14px;
}

.register-auth input,
.register-auth select {
    height: 44px;
    padding: 10px 12px;
}

.register-auth textarea {
    min-height: 82px;
    padding: 10px 12px;
    resize: vertical;
    font-family: inherit;
}

.register-auth input:focus,
.register-auth textarea:focus,
.register-auth select:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(24, 72, 184, 0.12);
}

.file-input {
    height: auto;
    padding: 8px;
    background: #fff;
    border-style: dashed;
}

.input-help {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
}

.captcha-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid #d6e2f4;
    border-radius: 8px;
    background: #f3f8ff;
}

.captcha-widget-wrap {
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
}

.captcha-widget-wrap iframe,
.captcha-widget-wrap > div {
    max-width: 100%;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.captcha-box .cf-turnstile {
    min-height: 65px;
}

.register-submit {
    margin: 2px 0 0;
}

.auth-switch {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.register-note {
    text-align: left;
    color: #6b7280;
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.45;
}

.error-message p {
    margin: 4px 0;
    font-size: 13px;
}

@media (max-width: 768px) {
    .auth-register-page {
        padding: 14px;
    }

    .register-auth .form-section {
        padding: 24px 18px 20px;
    }
}
