/* Standard lead form — project-wide */

.lead-form-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.75rem;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #ffffff, #FF5E00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-form-note {
    opacity: 0.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

#lead-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#lead-form .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#lead-form .field--full {
    grid-column: 1 / -1;
}

#lead-form label {
    color: #FF5E00;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

#lead-form .work-lf-req {
    color: #FF5E00;
    margin-left: 2px;
}

#lead-form .optional-label {
    text-transform: none;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 0;
}

#lead-form .input {
    width: 100%;
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 94, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
}

#lead-form .input:focus {
    outline: none;
    border-color: #FF5E00;
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

#lead-form .input.valid {
    border-color: rgba(0, 178, 255, 0.6);
}

#lead-form .input.invalid {
    border-color: #ff4444;
    box-shadow: 0 0 12px rgba(255, 68, 68, 0.25);
}

/* Custom select */
.work-lf-select {
    position: relative;
}

.work-lf-select__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 94, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    text-align: left;
    transition: all 0.3s ease;
}

.work-lf-select__trigger:hover,
.work-lf-select__trigger[aria-expanded="true"] {
    border-color: #FF5E00;
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.2);
}

.work-lf-select__val.is-placeholder {
    opacity: 0.5;
}

.work-lf-select__icon {
    flex-shrink: 0;
    color: #FF5E00;
    transition: transform 0.2s ease;
}

.work-lf-select__trigger[aria-expanded="true"] .work-lf-select__icon {
    transform: rotate(180deg);
}

.work-lf-select__list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 200;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    background: rgba(12, 12, 12, 0.98);
    border: 1px solid rgba(255, 94, 0, 0.35);
    border-radius: 5px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    max-height: 220px;
    overflow-y: auto;
    display: none;
}

.work-lf-select__list.is-open {
    display: block;
}

.work-lf-select__opt {
    padding: 12px 15px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.2s ease;
}

.work-lf-select__opt:hover,
.work-lf-select__opt[aria-selected="true"] {
    background: rgba(255, 94, 0, 0.15);
    color: #fff;
}

.work-lf-select__native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.work-lf-select.is-invalid .work-lf-select__trigger {
    border-color: #ff4444;
}

.work-lf-select.is-valid .work-lf-select__trigger {
    border-color: rgba(0, 178, 255, 0.6);
}

.work-lf-select__err {
    min-height: 0;
    font-size: 0.85rem;
    color: #ff6666;
}

.work-lf-select__err.is-visible {
    min-height: 1.2em;
    margin-top: 4px;
}

#lead-form .req-note {
    margin: 16px 0 20px;
    font-size: 0.85rem;
    opacity: 0.6;
}

#lead-form .actions {
    margin-bottom: 16px;
}

#lead-form .btn-gold.submit-btn {
    width: 100%;
}

#lead-form .consent-text {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.65;
    margin-bottom: 8px;
}

#lead-form .consent-text a {
    color: #00B2FF;
    text-decoration: underline;
}

#lead-form .consent-text a:hover {
    color: #FF5E00;
}

#lead-form .form-msg {
    font-size: 0.95rem;
    min-height: 0;
    margin-top: 8px;
}

#lead-form .form-msg:not(:empty) {
    padding: 10px 14px;
    border-radius: 5px;
    background: rgba(255, 94, 0, 0.1);
    border: 1px solid rgba(255, 94, 0, 0.3);
}

/* intl-tel-input overrides */
#lead-form .iti {
    width: 100%;
}

#lead-form .iti__tel-input {
    width: 100%;
    padding: 14px 15px 14px 52px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 94, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    font-family: 'Rajdhani', sans-serif;
}

#lead-form .iti__tel-input:focus {
    outline: none;
    border-color: #FF5E00;
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.3);
}

#lead-form .iti__country-list {
    background: rgba(12, 12, 12, 0.98);
    border: 1px solid rgba(255, 94, 0, 0.35);
    color: #fff;
}

@media (max-width: 768px) {
    #lead-form .form-grid {
        grid-template-columns: 1fr;
    }
}
