/* Generic form defaults (matching Impreza selector strategy) */

input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="reset"]),
select,
textarea {
	border-radius: var(--site-border-radius) !important;
	border: 1px solid #2E2E2E !important;
	background: #1A1A1A !important;
	color: #FFF !important;
	padding: 12px 32px 12px 20px !important;
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 17px !important;
}

input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="reset"])::placeholder,
textarea::placeholder {
	color: rgba(255, 255, 255, 0.65) !important;
}

input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="reset"]):disabled,
select:disabled,
textarea:disabled {
	color: rgba(255, 255, 255, 0.45) !important;
	background: #151515 !important;
	border-color: #2A2A2A !important;
}

input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="reset"]):focus,
select:focus,
textarea:focus {
	border-color: #2E2E2E !important;
	background: #1A1A1A !important;
}

select option,
select optgroup {
	background: #1A1A1A !important;
	color: #FFF !important;
}

/* Form label defaults */

label,
.with_frm_style .frm_primary_label,
.with_frm_style .frm_radio label,
.with_frm_style .frm_checkbox label {
	color: #FFF !important;
	font-size: 0.85rem !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 20.48px !important;
	letter-spacing: 0.768px !important;
	text-transform: uppercase !important;
}

/* Formidable-specific override */

.frm_form_field {
	margin-bottom: 0.5rem;
}

.with_frm_style .frm_slimselect.ss-main,
.with_frm_style input[type="text"],
.with_frm_style input[type="password"],
.with_frm_style input[type="email"],
.with_frm_style input[type="number"],
.with_frm_style input[type="url"],
.with_frm_style input[type="tel"],
.with_frm_style input[type="phone"],
.with_frm_style input[type="search"],
.with_frm_style select,
.with_frm_style textarea,
.frm_form_fields_style,
.with_frm_style .frm_scroll_box .frm_opt_container,
.frm_form_fields_active_style,
.frm_form_fields_error_style,
.with_frm_style .frm-card-element.StripeElement {
	border-radius: var(--site-border-radius) !important;
	border: 1px solid #2E2E2E !important;
	background: #1A1A1A !important;
	color: #FFF !important;
	padding: 12px 32px 12px 20px !important;
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 17px !important;
}

.with_frm_style input[type="text"]::placeholder,
.with_frm_style input[type="password"]::placeholder,
.with_frm_style input[type="email"]::placeholder,
.with_frm_style input[type="number"]::placeholder,
.with_frm_style input[type="url"]::placeholder,
.with_frm_style input[type="tel"]::placeholder,
.with_frm_style input[type="phone"]::placeholder,
.with_frm_style input[type="search"]::placeholder,
.with_frm_style textarea::placeholder {
	color: rgba(255, 255, 255, 0.65) !important;
}

.with_frm_style input[type="text"]:disabled,
.with_frm_style input[type="password"]:disabled,
.with_frm_style input[type="email"]:disabled,
.with_frm_style input[type="number"]:disabled,
.with_frm_style input[type="url"]:disabled,
.with_frm_style input[type="tel"]:disabled,
.with_frm_style input[type="phone"]:disabled,
.with_frm_style input[type="search"]:disabled,
.with_frm_style select:disabled,
.with_frm_style textarea:disabled,
.with_frm_style .frm_slimselect.ss-main.ss-disabled,
.with_frm_style .frm-card-element.StripeElement--invalid {
	color: rgba(255, 255, 255, 0.45) !important;
	background: #151515 !important;
	border-color: #2A2A2A !important;
}

.with_frm_style .frm_slimselect.ss-main:focus,
.with_frm_style input[type="text"]:focus,
.with_frm_style input[type="password"]:focus,
.with_frm_style input[type="email"]:focus,
.with_frm_style input[type="number"]:focus,
.with_frm_style input[type="url"]:focus,
.with_frm_style input[type="tel"]:focus,
.with_frm_style input[type="phone"]:focus,
.with_frm_style input[type="search"]:focus,
.with_frm_style select:focus,
.with_frm_style textarea:focus,
.frm_form_fields_active_style:focus,
.frm_form_fields_error_style:focus,
.with_frm_style .frm-card-element.StripeElement:focus {
	border-color: #2E2E2E !important;
	background: #1A1A1A !important;
}

.with_frm_style select option,
.with_frm_style select optgroup {
	background: #1A1A1A !important;
	color: #FFF !important;
}

/* Form button defaults */

input[type="submit"],
input[type="button"],
button[type="submit"],
button[type="button"],
.with_frm_style .frm_submit button {
	border-radius: var(--site-border-radius) !important;
	border: 2px solid var(--color-content-primary) !important;
	background: var(--color-content-primary) !important;
	padding: 11px 28px !important;
	box-shadow: none !important;
	font-size: 0.85rem !important;
	font-style: normal !important;
	font-weight: 900 !important;
	line-height: 0.85rem !important;
	text-transform: uppercase !important;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button[type="submit"]:hover,
button[type="button"]:hover,
.with_frm_style .frm_submit button:hover {
	border-color: color-mix(in srgb, var(--color-content-primary) 80%, transparent) !important;
	background: color-mix(in srgb, var(--color-content-primary) 80%, transparent) !important;
}
