.identity-form {
    background: transparent;
    padding: 0;
    margin-bottom: 24px;
}

.identity-form__field {
    margin-bottom: 15px;
    position: relative;
}

.label-help-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

#modal-text {
    white-space: pre-line;
}

.help-modal__image {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
}

.identity-form__field label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.identity-form__help-btn {
    background-color: var(--border-light);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.identity-form__help-icon {
    width: 14px;
    height: 14px;
    display: block;
    object-fit: contain;
}

.identity-form__help-btn:hover {
    background-color: var(--secondary-color);
    color: var(--surface);
    transform: scale(1.1);
}

.identity-form__field input[type="email"],
.identity-form__field input[type="date"],
.identity-form__field input[type="text"],
.identity-form__field input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9375rem;
    background-color: var(--surface);
    transition: all 0.2s ease;
    color: var(--text-dark);
}

label.required::after {
    content: "*";
    margin-left: 0;
}

.identity-form__input--phone {
    padding: 12px 16px !important;
}

.identity-form__field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.identity-form__field input.error {
    border-color: var(--error-color);
}

.identity-form__field input.success {
    border-color: var(--success-color);
}

.identity-form__field input::placeholder {
    color: var(--text-muted);
}

.identity-form__error {
    display: block;
    color: var(--error-color);
    font-size: 0.8125rem;
    margin-top: 6px;
    min-height: 20px;
    font-weight: 500;
}

.identity-form__privacy-notice p {
    margin: 0 0 30px;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.identity-form__privacy-link {
    color: var(--text-dark);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.identity-form__privacy-link:hover {
    color: var(--secondary-color);
}

.identity-form__submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: var(--surface);
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    margin-top: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
}

.identity-form__submit-btn:hover {
    background: #464B7A;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.identity-form__submit-btn:active {
    transform: translateY(0);
}

.identity-form__submit-btn:disabled {
    background-color: var(--border-light);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.identity-form__flash-error {
    background-color: #ffe5e5;
    color: #b60000;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    border: 1px solid #ffb3b3;
}

@media (max-width: 768px) {
    .identity-form {
        padding: 0;
    }

    .identity-form__privacy-notice {
        flex-direction: column;
        gap: 10px;
        padding-left: 14px;
    }
}

@media (max-width: 480px) {
    .identity-form {
        padding: 0;
    }

    .identity-form__field {
        margin-bottom: 10px;
    }

    .identity-form__field input[type="email"],
    .identity-form__field input[type="date"],
    .identity-form__field input[type="text"],
    .identity-form__field input[type="tel"] {
        padding: 12px 14px;
        font-size: 0.9375rem;
    }

    .identity-form__input--phone {
        padding: 12px 14px !important;
    }

    .identity-form__privacy-notice {
        padding-left: 12px;
    }

    .label-help-wrapper {
        gap: 6px;
    }

    .identity-form__privacy-notice p {
        font-size: 0.75rem;
    }

    .identity-form__submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

.infos-form {
    font-size: 0.9375rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    padding-top: 15px;
    font-style: italic;
}

.infos-form .no-style {
    font-style: normal;
}

.infos-form strong {
    color: var(--primary-color);
}