/**
 * Booking Search and Results Combined Styles
 *
 * @package Atacama_Booking
 */

.atacama-booking-search-results-wrapper {
	width: 100%;
	margin: 20px 0;
}

.atacama-booking-search-results-container {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

/* Left Column: Search Form (30%) */
.atacama-search-column {
	flex: 0 0 30%;
	max-width: 30%;
}

.atacama-search-form-wrapper {
	background: #fff;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 20px;
	border: 1px solid #e8e8e8;
}

.atacama-search-title {
	margin: 0 0 25px 0;
	font-size: 22px;
	font-weight: 700;
	color: #333;
	padding-bottom: 15px;
	border-bottom: 2px solid #f0f0f0;
}

.atacama-search-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.atacama-search-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.atacama-search-field label {
	font-weight: 600;
	color: #333;
	font-size: 14px;
	margin-bottom: 5px;
}

.atacama-search-field input[type="number"],
.atacama-search-field select {
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 15px;
	width: 100%;
	transition: all 0.3s ease;
	background: #fff;
	color: #333;
	box-sizing: border-box;
}

.atacama-search-field input[type="number"]:focus,
.atacama-search-field select:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.atacama-field-hint {
	font-size: 12px;
	color: #666;
	margin-top: 4px;
	font-style: italic;
}

.atacama-search-submit {
	margin-top: 15px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.atacama-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s ease;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.atacama-btn-primary {
	background: #0073aa;
	color: #fff;
}

.atacama-btn-primary:hover {
	background: #005a87;
}

.atacama-btn-secondary {
	background: #f0f0f0;
	color: #333;
}

.atacama-btn-secondary:hover {
	background: #e0e0e0;
}

/* Right Column: Results (70%) */
.atacama-results-column {
	flex: 0 0 70%;
	max-width: 70%;
}

.atacama-booking-results-content {
	min-height: 200px;
}

.atacama-booking-forms-results {
	width: 100%;
}

.atacama-results-header {
	margin-bottom: 25px;
}

.atacama-results-header h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	color: #333;
}

.atacama-booking-products-grid {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.atacama-search-loading {
	text-align: center;
	padding: 60px 20px;
	color: #666;
	font-size: 16px;
}

.atacama-notice {
	padding: 15px 20px;
	border-radius: 4px;
	margin: 20px 0;
}

.atacama-notice.error {
	background: #ffeaea;
	border-left: 4px solid #dc3232;
	color: #721c24;
}

.atacama-notice.error p {
	margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
	.atacama-booking-search-results-container {
		flex-direction: column;
		gap: 20px;
	}
	
	.atacama-search-column {
		flex: 1 1 100%;
		max-width: 100%;
	}
	
	.atacama-results-column {
		flex: 1 1 100%;
		max-width: 100%;
	}
	
	.atacama-search-form-wrapper {
		position: static;
	}
}

