/**
 * APL Rental Quote Form
 */

.apl-rental-form-wrap {
	--apl-orange: #e85d04;
	--apl-orange-dark: #c44d03;
	--apl-navy: #1a2b4a;
	--apl-border: #e5e7eb;
	--apl-text: #1f2937;
	--apl-muted: #6b7280;
	font-family: inherit;
}

.apl-rental-form-card {
	background: #fff;
	border: 2px solid var(--apl-orange);
	border-radius: 12px;
	padding: 28px 24px 24px;
	max-width: 560px;
}

.apl-rental-form-title {
	margin: 0 0 6px;
	font-size: 35px !important;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 38px !important;
	color: #111;
	text-transform: uppercase;
}

.apl-rental-form-subtitle {
	margin: 0 0 20px;
	font-size: 0.875rem;
	color: var(--apl-muted);
}

.apl-rental-form-message {
	padding: 12px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 0.875rem;
}

.apl-rental-form-message.is-success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.apl-rental-form-message.is-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.apl-rental-form-row {
	display: grid;
	gap: 12px;
	margin-bottom: 12px;
}

.apl-rental-form-row--2 {
	grid-template-columns: 1fr 1fr;
}

.apl-rental-form-row--equip {
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}

@media (max-width: 600px) {
	.apl-rental-form-row--2,
	.apl-rental-form-row--equip {
		grid-template-columns: 1fr;
	}
}

.apl-rental-field input[type="text"],
.apl-rental-field input[type="email"],
.apl-rental-field input[type="tel"],
.apl-rental-field input[type="date"],
.apl-rental-field select,
.apl-rental-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid var(--apl-border);
	border-radius: 8px;
	font-size: 0.875rem;
	color: var(--apl-text);
	background: #fff;
	transition: border-color 0.15s;
}

.apl-rental-field input:focus,
.apl-rental-field select:focus,
.apl-rental-field textarea:focus {
	outline: none;
	border-color: var(--apl-orange);
	box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

.apl-rental-field input::placeholder,
.apl-rental-field textarea::placeholder {
	color: #9ca3af;
}

.apl-rental-field--date {
	position: relative;
}

.apl-rental-field--date input[type="date"] {
	color-scheme: light;
}

.apl-rental-field--date.is-empty input[type="date"] {
	color: transparent;
}

.apl-rental-field--date.is-empty input[type="date"]::-webkit-datetime-edit {
	color: transparent;
}

.apl-rental-field--date:not(.is-empty) .apl-rental-date-label,
.apl-rental-field--date input[type="date"]:focus + .apl-rental-date-label {
	display: none;
}

.apl-rental-date-label {
	display: block;
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #9ca3af;
	font-size: 0.875rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100% - 48px);
}

.apl-rental-field--select select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	cursor: pointer;
}

.apl-rental-field--full textarea {
	min-height: 100px;
	resize: vertical;
}

.apl-rental-preview {
	border: 2px dashed rgb(14 42 71 / 20%);
	border-radius: 8px;
	min-height: 235px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fafafa;
	overflow: hidden;
}

.apl-rental-preview-inner {
	text-align: center;
	padding: 16px;
	width: 100%;
}

.apl-rental-preview-icon {
	display: block;
	color: #d1d5db;
	margin: 0 auto 8px;
}

.apl-rental-preview-category {
	margin: 0 0 4px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--apl-orange);
}

.apl-rental-preview-text {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--apl-muted);
}

.apl-rental-preview.has-image .apl-rental-preview-category {
	display: block;
}

.apl-rental-preview-img {
	display: block;
	max-width: 100%;
	max-height: 140px;
	width: auto;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
	border-radius: 4px;
}

.apl-rental-preview.has-image .apl-rental-preview-icon,
.apl-rental-preview.has-image .apl-rental-preview-text {
	display: none;
}

.apl-rental-submit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 8px;
	padding: 14px 20px;
	background: var(--apl-orange);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.15s;
}

.apl-rental-submit:hover:not(:disabled) {
	background: var(--apl-orange-dark);
}

.apl-rental-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.apl-rental-submit-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: rgba(0, 0, 0, 0.15);
	border-radius: 50%;
}

.apl-rental-field input.is-invalid,
.apl-rental-field select.is-invalid {
	border-color: #dc2626;
}

.apl-rental-form-wrap{
	background: linear-gradient(180deg, #F7941D 0%, rgba(247, 148, 29, 0) 100%);
	padding: 2px;
	border-radius: 14px;
	box-shadow: 0px 4px 30px 0px #2A28791A;
}
.apl-rental-form-card{
	background: #fff;
	border: unset;
}
.apl-rent-quote-wrapper .e-con-inner{
	gap: 40px;
}

@media screen and (max-width: 1080px){
	.apl-rent-quote-wrapper .e-con-inner{
		grid-template-columns: 1fr !important;
	}
}