/* Bin Mama Booking Form — structural CSS (colors/spacing/fonts are controlled from Elementor Style tab) */

.bmbf-form-wrap {
	width: 100%;
	box-sizing: border-box;
	border-radius: 10px;
	font-family: inherit;
}
.bmbf-form-wrap *, .bmbf-form-wrap *::before, .bmbf-form-wrap *::after { box-sizing: border-box; }

.bmbf-section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.bmbf-section-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%; border: 2px solid currentColor; flex-shrink: 0;
}
.bmbf-section-icon svg { width: 20px; height: 20px; display: block; }
.bmbf-section-title { margin: 0; font-size: 20px; font-weight: 700; }

.bmbf-row { display: grid; gap: 18px; margin-bottom: 14px; }
.bmbf-cols-1 { grid-template-columns: 1fr; }
.bmbf-cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .bmbf-cols-2 { grid-template-columns: 1fr; } }

.bmbf-field-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.bmbf-label { font-weight: 600; font-size: 14px; }
.bmbf-required { margin-left: 2px; }

.bmbf-input, .bmbf-select, .bmbf-textarea {
	width: 100%; border: 1px solid #ddd; font-size: 15px; font-family: inherit; background: #fff;
	box-sizing: border-box !important;
	overflow: visible !important;
	vertical-align: middle;
}
.bmbf-input, .bmbf-textarea { line-height: 1.4 !important; }
.bmbf-input, .bmbf-textarea { min-height: 46px; }
.bmbf-textarea { min-height: 90px; resize: vertical; }

/* Dropdowns: the real <select> is kept fully functional (native mobile picker, keyboard,
   accessibility) but made invisible and stacked over a custom "display" element that shows
   the current value. This is the only 100% theme-proof fix for select text getting
   vertically clipped — themes constantly fight CSS attempts to restyle native <select> text. */
.bmbf-select-wrap { position: relative; width: 100%; }
.bmbf-select-wrap .bmbf-select {
	position: absolute; inset: 0; width: 100%; height: 100%;
	opacity: 0; margin: 0; border: 0; padding: 0; cursor: pointer; z-index: 2; font-size: 16px;
}
.bmbf-select-display {
	display: flex; align-items: center;
	width: 100%; height: 46px; box-sizing: border-box;
	border: 1px solid #ddd; background: #fff; border-radius: 4px;
	padding: 0 38px 0 16px; font-size: 15px; font-family: inherit; color: #222;
	line-height: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	pointer-events: none;
}
.bmbf-select-display.bmbf-placeholder { color: #888; }
.bmbf-select-arrow {
	position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
	width: 11px; height: 11px; pointer-events: none;
	background-repeat: no-repeat; background-size: 11px; background-position: center;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
.bmbf-select-wrap:focus-within .bmbf-select-display { outline: 2px solid transparent; }
.bmbf-helper-text { font-size: 13px; margin: 4px 0 0; }

.bmbf-divider { border-top: 1px solid #eee; margin: 20px 0; width: 100%; }

/* When only one of the two side-by-side sections (Roll-Out / Cleaning) is shown,
   it expands across the full row instead of leaving the other half blank. */
.bmbf-two-section-row.bmbf-row { align-items: start; }
.bmbf-full-width { grid-column: 1 / -1; }

.bmbf-nested-field { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }

.bmbf-plan-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 900px) { .bmbf-plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .bmbf-plan-grid { grid-template-columns: 1fr; } }

.bmbf-plan-box {
	position: relative; text-align: center; cursor: pointer; border: 1px solid #e0e0e0;
	transition: all .15s ease; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.bmbf-plan-box:hover { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.bmbf-plan-badge {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap;
}
.bmbf-plan-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%; border: 2px solid currentColor; margin-bottom: 4px;
}
.bmbf-plan-name { font-weight: 700; }
.bmbf-plan-price { font-weight: 700; font-size: 16px; }

.bmbf-choice-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.bmbf-choice { display: inline-flex; align-items: center; gap: 6px; }
.bmbf-choice label { cursor: pointer; }

.bmbf-notice { display: block; margin-top: 8px; border-radius: 6px; }

.bmbf-addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
@media (max-width: 640px) { .bmbf-addon-grid { grid-template-columns: 1fr; } }
.bmbf-addon-card {
	display: flex; align-items: center; gap: 10px; border: 1px solid #ddd; cursor: pointer; user-select: none;
}
.bmbf-addon-icon { font-size: 18px; }
.bmbf-addon-icon svg { width: 18px; height: 18px; display: block; }
.bmbf-addon-label { flex: 1; font-weight: 600; }
.bmbf-addon-price { font-weight: 700; }

.bmbf-submit-row { margin-top: 20px; text-align: center; }
.bmbf-submit-btn { border: none; cursor: pointer; width: 100%; font-weight: 700; letter-spacing: .5px; }
.bmbf-submit-subtext { font-size: 13px; color: #888; margin-top: 8px; }

.bmbf-response-msg { margin-top: 14px; padding: 12px 14px; border-radius: 6px; }
.bmbf-response-msg.bmbf-error { background: #fdeaea; color: #c0392b; }
.bmbf-success-box { margin-top: 14px; padding: 16px; border-radius: 6px; background: #eaf7ee; color: #1e6b3c; text-align: center; }

[hidden] { display: none !important; }
