/**
 * Forms Component
 * ============================================================================
 * Base form element styles (inputs, selects, radio buttons).
 *
 * Load order: After 01-base.css, before page-specific styles
 * Dependencies: 00-tokens.css (design tokens)
 *
 * NOTE: Panel-specific form styles remain in panel CSS files
 * (e.g., .contact-panel .wpforms, .pricing-calculator select)
 * ============================================================================
 */

/* ==========================================================================
   Radio Buttons
   ========================================================================== */

input[type="radio"] {
	/* Vendor prefix still needed for iOS < 15 */
	appearance: none;
	appearance: none;

	/* Remove default background gradient on iOS */
	background-color: var(--white);
	margin: 0 5px 0 0;
	font: inherit;
	color: currentcolor;
	width: 28px;
	height: 28px;
	border: 1px solid var(--bg-2);
	border-radius: 50%;
	transform: translateY(-0.075em);
	display: grid;
	place-content: center;
}

input[type="radio"]::before {
	content: "";
	width: 14px;
	height: 14px;
	border-radius: 50%;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	box-shadow: inset 1em 1em var(--brand-main);
}

input[type="radio"]:checked::before {
	transform: scale(1);
}

/* ==========================================================================
   Text Inputs
   ========================================================================== */

input[type="text"] {
	background-color: var(--white);
	border: 1px solid var(--bg-2);
	border-radius: var(--radius-base);
	height: 56px;
	margin-bottom: var(--space-5);
	padding: 16px 44px 16px 23px;
	position: relative;
}

/* ==========================================================================
   Select/Dropdown Menus
   ========================================================================== */

.drop-down .select-menu {
	background-color: var(--white);
	border: 1px solid var(--bg-2);
	border-radius: var(--radius-base);
	height: 56px;
	margin-bottom: var(--space-5);
	position: relative;
}

.drop-down .select-menu select {
	appearance: none;
	appearance: none;
	background-color: transparent;
	border: none;
	height: 56px;
	padding: 16px 44px 16px 23px;
	width: 100%;
	position: relative;
	z-index: 10;
}

.drop-down .material-icons {
	position: absolute;
	top: var(--space-4);
	right: 25px;
	width: 15px;
	text-align: left;
}

/* ==========================================================================
   Modal Form Inputs
   ========================================================================== */

.modal input {
	background: var(--white);
	border: none;
	border-radius: var(--radius-base);
	height: 48px;
	width: 100%;
	padding: 10px 50px 10px 14px;
	margin-bottom: 27px;
}
