/* LucentrixPro.net-83 — форма в iPhone mockup (темна тема) */

.apx-lead {
    --apx-accent: #f97316;
    --apx-bg: rgba(255, 255, 255, 0.08);
    --apx-text: #f1f5f9;
    --apx-muted: #94a3b8;
    --apx-border: rgba(255, 255, 255, 0.18);
    --apx-radius: 12px;
    --apx-max: 100%;

    box-sizing: border-box;
    width: 100%;
    max-width: var(--apx-max);
    margin: 0;
    padding: 0;
    font-family: inherit;
}

.apx-lead * {
    box-sizing: border-box;
}

.apx-lead .apx-lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.apx-lead .apx-lead-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.apx-lead .apx-lead-row > * {
    flex: 1 1 0;
    min-width: 0;
}

.apx-lead input:not([type="hidden"]) {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    color: var(--apx-text);
    background: var(--apx-bg);
    border: 1px solid var(--apx-border);
    border-radius: var(--apx-radius);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.apx-lead input::placeholder {
    color: var(--apx-muted);
    opacity: 1;
}

.apx-lead input:focus {
    border-color: var(--apx-accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--apx-accent) 25%, transparent);
}

.apx-lead .iti {
    width: 100%;
}

.apx-lead .iti input {
    padding-left: 12px;
}

.apx-lead .iti__country-name {
    color: #0f172a !important;
}

.apx-lead .submit {
    width: 100%;
    min-height: 48px;
    margin: 8px 0 0;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(to right, #f97316, #fdba74);
    border: none;
    border-radius: var(--apx-radius);
    cursor: pointer;
    transition: filter .15s ease, transform .15s ease;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.apx-lead .submit:hover {
    filter: brightness(1.06);
    transform: scale(1.02);
}

.apx-lead .submit:disabled {
    opacity: .6;
    cursor: default;
    transform: none;
}

@media (min-width: 400px) {
    .apx-lead .apx-lead-row {
        flex-direction: row;
        gap: 10px;
    }
}
