/* EnviroPros order form — layout from order-form-redesign.html (scoped) */

.ep-order-form-wrap {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: #1a1a18;
	padding: 2rem 1rem 3rem;
}

.ep-order-form-wrap *,
.ep-order-form-wrap *::before,
.ep-order-form-wrap *::after {
	box-sizing: border-box;
}

.ep-order-form-wrap .ep-of-container {
	max-width: 720px;
	margin: 0 auto;
}

/* Alerts (success / error) */
.ep-order-form-wrap .ep-of-alert {
	padding: 12px 16px;
	border-radius: 10px;
	margin-bottom: 1rem;
	font-size: 14px;
}

.ep-order-form-wrap .ep-of-alert--success {
	background: #e8f5e9;
	border: 1px solid #a5d6a7;
	color: #1b5e20;
}

.ep-order-form-wrap .ep-of-alert--error {
	background: #ffebee;
	border: 1px solid #ffcdd2;
	color: #b71c1c;
}

/* Header */
.ep-order-form-wrap .ep-of-header {
	margin-bottom: 1.75rem;
}

.ep-order-form-wrap .ep-of-title {
    font-family: 'Anton', Helvetica, Arial, Lucida, sans-serif;
    font-size: 41px;
    letter-spacing: 1px;
    text-align: center;
}

.ep-order-form-wrap .ep-of-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff8e6;
    border: 1px solid #f0d080;
    border-radius: 8px;
    padding: 12px 14px !important;  /* override Divi's padding-bottom: 0 */
    font-size: 13px;
    line-height: 1.4;
    color: #7a5c00;
    margin: 0 0 16px 0;
}


.ep-order-form-wrap .ep-of-notice svg {
	flex-shrink: 0;
}




/* Section cards */
.ep-order-form-wrap .ep-of-section {
	background: #ffffff;
	border: 1px solid #e2e0d8;
	border-radius: 12px;
	margin-bottom: 16px;
	overflow: hidden;
}

.ep-order-form-wrap .ep-of-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    background: #036F82;
    border-bottom: 1px solid #e2e0d8;
}

.ep-order-form-wrap .ep-of-num {
    width: 30px;
    height: 31px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #d3d1c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 900;
    color: #5f5e5a;
    flex-shrink: 0;
}

.ep-order-form-wrap .ep-of-sec-title {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
}

.ep-order-form-wrap .ep-of-sec-title .req {
	color: #c0392b;
	font-weight: 600;
}

.ep-order-form-wrap .ep-of-section-body {
	padding: 20px;
        background-color: #dddddd;
}

.ep-order-form-wrap .ep-of-row {
	display: grid;
	gap: 14px;
	margin-bottom: 14px;
}

.ep-order-form-wrap .ep-of-row:last-child {
	margin-bottom: 0;
}

.ep-order-form-wrap .ep-of-row--2 {
	grid-template-columns: 1fr 1fr;
}

.ep-order-form-wrap .ep-of-row--3 {
	grid-template-columns: 1fr 1fr 1fr;
}

.ep-order-form-wrap .ep-of-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ep-order-form-wrap .ep-of-field label {
	font-size: 12px;
	font-weight: 500;
	color: #5f5e5a;
	letter-spacing: 0.01em;
}

.ep-order-form-wrap .ep-of-field .req {
	color: #c0392b;
	margin-left: 2px;
}

/* Quoted fee: $ prefix + same chrome as text inputs */
.ep-order-form-wrap .ep-money-field {
	display: flex;
	align-items: stretch;
	width: 100%;
	border: 1px solid #d3d1c7;
	border-radius: 7px;
	background: #ffffff;
	transition: border-color 0.15s, box-shadow 0.15s;
	overflow: hidden;
}

.ep-order-form-wrap .ep-money-field:focus-within {
	border-color: #378add;
	box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.12);
}

.ep-order-form-wrap .ep-money-field__sym {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	padding: 8px 0 8px 11px;
	font-size: 14px;
	font-weight: 600;
	color: #5f5e5a;
	user-select: none;
}

.ep-order-form-wrap .ep-money-field input.ep-money-field__input[type="text"] {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 8px 11px 8px 4px;
	border: none;
	border-radius: 0;
	background: transparent;
	color: #1a1a18;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	box-shadow: none;
	transition: none;
	-webkit-appearance: none;
}

.ep-order-form-wrap .ep-money-field input.ep-money-field__input[type="text"]:focus {
	border: none;
	box-shadow: none;
}

.ep-order-form-wrap input[type="text"],
.ep-order-form-wrap input[type="tel"],
.ep-order-form-wrap input[type="email"],
.ep-order-form-wrap input[type="url"],
.ep-order-form-wrap textarea,
.ep-order-form-wrap select {
	width: 100%;
	padding: 8px 11px;
	border: 1px solid #d3d1c7;
	border-radius: 7px;
	background: #ffffff;
	color: #1a1a18;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
	-webkit-appearance: none;
}

.ep-order-form-wrap input:focus,
.ep-order-form-wrap textarea:focus,
.ep-order-form-wrap select:focus {
	border-color: #378add;
	box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.12);
}

.ep-order-form-wrap input::placeholder,
.ep-order-form-wrap textarea::placeholder {
	color: #b0aea6;
}

.ep-order-form-wrap textarea {
	resize: vertical;
	min-height: 72px;
}

.ep-order-form-wrap select {
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23888780' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding-right: 28px;
	cursor: pointer;
}

.ep-order-form-wrap select:invalid {
	color: #b0aea6;
}

.ep-order-form-wrap select option {
	color: #1a1a18;
}

.ep-order-form-wrap .ep-of-hint {
	font-size: 11px;
	color: #888780;
	margin-top: 2px;
}

.ep-order-form-wrap .ep-of-divider {
	height: 1px;
	background: #e2e0d8;
	margin: 16px 0;
}

/* Checkboxes */
.ep-order-form-wrap .ep-of-checkboxes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
	gap: 8px;
}

.ep-order-form-wrap .ep-of-check-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #1a1a18;
	cursor: pointer;
	padding: 8px 11px;
	border: 1px solid #999999;
	border-radius: 7px;
	transition: background 0.12s, border-color 0.12s;
	user-select: none;
}

.ep-order-form-wrap .ep-of-check-label:hover {
	background: #faf9f7;
	border-color: #c5c3bb;
}

.ep-order-form-wrap .ep-of-check-label input[type="checkbox"]:checked + span {
	color: #185fa5;
	font-weight: 500;
}

.ep-order-form-wrap input[type="checkbox"] {
	width: 15px;
	height: 15px;
	border-radius: 3px;
	flex-shrink: 0;
	accent-color: #378add;
	cursor: pointer;
}

.ep-order-form-wrap input[type="file"] {
	font-size: 13px;
	color: #5f5e5a;
	padding: 8px 10px;
	border: 1px dashed #c5c3bb;
	border-radius: 7px;
	background: #faf9f7;
	cursor: pointer;
	width: 100%;
}

/* Submit */
.ep-order-form-wrap .ep-of-submit-area {
	margin-top: 8px;
}

.ep-order-form-wrap .ep-of-submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px;
	background: #1a1a18;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s;
}

.ep-order-form-wrap .ep-of-submit-btn:hover {
	background: #2c2c2a;
}

.ep-order-form-wrap .ep-of-privacy {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #888780;
	justify-content: center;
	margin: 12px 0 0;
}

/* Builder placeholder */
.ep-order-form-wrap--placeholder {
	background: #ffffff;
}

.ep-order-form-wrap--placeholder .ep-of-placeholder {
	background: #ffffff;
	border: 1px solid #e2e0d8;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	font-size: 14px;
	color: #5f5e5a;
}

@media (max-width: 580px) {
	.ep-order-form-wrap .ep-of-row--2,
	.ep-order-form-wrap .ep-of-row--3 {
		grid-template-columns: 1fr;
	}

	.ep-order-form-wrap .ep-of-checkboxes {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 360px) {
	.ep-order-form-wrap .ep-of-checkboxes {
		grid-template-columns: 1fr;
	}
}
