.av365-partner-registration {
    max-width: 960px;
    margin: 0 auto 64px;
    padding: 0 20px;
}

.av365-partner-registration,
.av365-partner-registration * {
    box-sizing: border-box;
}

.av365-partner-registration__card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e7ee;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    padding: 44px;
}

.av365-partner-registration__header {
    max-width: 780px;
    margin-bottom: 32px;
}

.av365-partner-registration__header h2 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.2;
}

.av365-partner-registration__header p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

.av365-partner-registration__header .av365-partner-registration__required-note {
    margin-top: 14px;
    color: #64748b;
    font-size: 13px;
}

.av365-partner-registration__required,
.av365-partner-registration__required-note span {
    color: #c5221f;
}

.av365-partner-registration__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.av365-partner-registration__field {
    min-width: 0;
    margin: 0;
}

.av365-partner-registration__field > label {
    display: block;
    margin: 0 0 8px;
    color: #10243e;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.av365-partner-registration__field input[type="text"],
.av365-partner-registration__field input[type="email"],
.av365-partner-registration__field input[type="tel"],
.av365-partner-registration__field input[type="password"] {
    display: block;
    width: 100%;
    height: 50px;
    min-height: 50px;
    margin: 0;
    border: 1px solid #cbd4df;
    border-radius: 6px;
    background: #fff;
    padding: 11px 14px;
    color: #172b45;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.av365-partner-registration__field input::placeholder {
    color: #8a97a8;
    opacity: 1;
}

.av365-partner-registration__field input:hover {
    border-color: #9ba9ba;
}

.av365-partner-registration__field input:focus {
    border-color: #1769e0;
    box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.16);
    outline: none;
}

.av365-partner-registration__field.has-error input[type="text"],
.av365-partner-registration__field.has-error input[type="email"],
.av365-partner-registration__field.has-error input[type="tel"],
.av365-partner-registration__field.has-error input[type="password"] {
    border-color: #b42318;
    background: #fffafa;
}

.av365-partner-registration__field-hint,
.av365-partner-registration__field-error {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.45;
}

.av365-partner-registration__field-hint {
    color: #64748b;
}

.av365-partner-registration__field-error {
    color: #b42318;
    font-weight: 600;
}

.av365-partner-registration__password-control {
    position: relative;
}

.av365-partner-registration__password-control input[type="password"],
.av365-partner-registration__password-control input[type="text"] {
    padding-right: 78px;
}

.av365-partner-registration__password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    min-width: 58px;
    min-height: 34px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 4px;
    background: transparent;
    padding: 4px 7px;
    color: #1769e0;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
}

.av365-partner-registration__password-toggle:hover,
.av365-partner-registration__password-toggle:focus-visible {
    background: #edf5ff;
    outline: none;
}

.av365-partner-registration__password-strength {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.3;
}

.av365-partner-registration__password-strength-bar {
    display: block;
    overflow: hidden;
    height: 5px;
    border-radius: 999px;
    background: #e3e8ef;
}

.av365-partner-registration__password-strength-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #94a3b8;
    transition: width 180ms ease, background-color 180ms ease;
}

.av365-partner-registration__password-strength[data-strength="very-weak"] {
    color: #b42318;
}

.av365-partner-registration__password-strength[data-strength="very-weak"] .av365-partner-registration__password-strength-bar span {
    width: 25%;
    background: #d92d20;
}

.av365-partner-registration__password-strength[data-strength="weak"] {
    color: #b54708;
}

.av365-partner-registration__password-strength[data-strength="weak"] .av365-partner-registration__password-strength-bar span {
    width: 50%;
    background: #f79009;
}

.av365-partner-registration__password-strength[data-strength="medium"] {
    color: #9a6700;
}

.av365-partner-registration__password-strength[data-strength="medium"] .av365-partner-registration__password-strength-bar span {
    width: 75%;
    background: #f5c518;
}

.av365-partner-registration__password-strength[data-strength="strong"] {
    color: #067647;
}

.av365-partner-registration__password-strength[data-strength="strong"] .av365-partner-registration__password-strength-bar span {
    width: 100%;
    background: #12b76a;
}

.av365-partner-registration__field--checkbox {
    margin-top: 28px;
}

.av365-partner-registration__field--checkbox > label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

.av365-partner-registration__field--checkbox input[type="checkbox"] {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    accent-color: #1769e0;
}

.av365-partner-registration__field--checkbox .av365-partner-registration__field-error {
    margin-left: 30px;
}

.av365-partner-registration__actions {
    margin: 30px 0 0;
}

.av365-partner-registration__actions button {
    min-height: 52px;
    border: 0;
    border-radius: 6px;
    background: #1769e0;
    padding: 0 30px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.av365-partner-registration__actions button:hover {
    background: #0f56be;
}

.av365-partner-registration__actions button:focus-visible {
    box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.24);
    outline: none;
}

.av365-partner-registration__actions button:active {
    transform: translateY(1px);
}

.av365-partner-registration__errors {
    margin: 0 0 26px;
    border: 1px solid #f3b8b3;
    border-left: 4px solid #b42318;
    border-radius: 6px;
    background: #fff4f3;
    padding: 16px 18px;
    color: #7a271a;
}

.av365-partner-registration__errors p {
    margin: 0 0 6px;
}

.av365-partner-registration__errors ul {
    margin: 0;
    padding-left: 20px;
}

.av365-partner-registration__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.av365-partner-registration--success,
.av365-partner-registration--notice {
    max-width: 760px;
    border-radius: 8px;
    padding: 22px 24px;
}

.av365-partner-registration--success {
    border: 1px solid #abefc6;
    background: #ecfdf3;
    color: #067647;
}

.av365-partner-registration--notice {
    border: 1px solid #b9d5fb;
    background: #eff6ff;
    color: #174a8b;
}

.av365-partner-registration--success h2 {
    margin: 0 0 6px;
    color: inherit;
    font-size: 22px;
}

.av365-partner-registration--success p,
.av365-partner-registration--notice p {
    margin: 0;
}

@media (max-width: 760px) {
    .av365-partner-registration {
        padding: 0;
    }

    .av365-partner-registration__card {
        border-radius: 8px;
        padding: 28px 20px;
    }

    .av365-partner-registration__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .av365-partner-registration__header h2 {
        font-size: 26px;
    }

    .av365-partner-registration__actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av365-partner-registration *,
    .av365-partner-registration *::before,
    .av365-partner-registration *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
