/* iOS SAFARI FIX - CRITICAL UX
 * Prevent zoom on input focus (font-size ≥16px)
 * Touch targets ≥48px (accessibility)
 * Remove default iOS styling
 * Last updated: 2025-11-20
 */

/* INPUTS + TEXTAREAS - Prevent zoom on focus */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
    font-size: 16px !important;
    min-height: 48px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* CHECKBOX + RADIO - Preserve natural size */
input[type="checkbox"],
input[type="radio"] {
    min-height: unset !important;
    width: 18px !important;
    height: 18px !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

/* BUTTONS + CTAs - Touch target compliance */
button,
a.btn,
a.cta-button,
.btn,
.cta-button {
    min-height: 48px !important;
    -webkit-tap-highlight-color: rgba(0, 122, 204, 0.2);
}

/* SPECIFIC INPUT TYPES */
input[type="email"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="search"] {
    font-size: 16px !important;
    -webkit-appearance: none !important;
}

/* SELECT DROPDOWN */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23007acc' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
}

/* TOUCH FEEDBACK - Visual response on tap */
button:active,
a.btn:active,
.cta-button:active {
    opacity: 0.8;
    transform: scale(0.98);
}
