/**
 * Alber Filter and Search Styles - NO INDIVIDUAL BORDERS, NO GAP
 * Clean seamless design with no field borders or spacing
 *
 * @package AlberCAS
 */

/* ==============================================
   BOOKING SEARCH WRAPPER
   ============================================== */
.albercas-booking-search-wrapper {
	width: 100%;
}

/* ==============================================
   TITLE STYLES
   ============================================== */
/* ==============================================
   TITLE STYLES - TITLE AND SUBTITLE ON SAME LINE
   ============================================== */
.albercas-booking-title-wrapper {
	margin-bottom: 30px;
	text-align: left;
	display: flex;
	align-items: baseline;
	gap: 15px;
	flex-wrap: wrap;
}

.albercas-booking-title {
	font-size: 28px;
	font-weight: 400;
	line-height: 1.3;
	margin: 0;
	color: #fff;
	font-family: inherit;
}

.albercas-booking-subtitle {
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 2px;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
	text-transform: uppercase;
	display: inline-block;
}

/* ==============================================
   FORM CONTAINER
   ============================================== */
.albercas-booking-search-form {
	display: flex;
	align-items: stretch;
	gap: 20px;
	flex-wrap: nowrap;
	background-color: transparent;
}

/* Inline Layout (Horizontal) */
.albercas-form-inline {
	flex-direction: row;
}

/* Stacked Layout (Vertical) */
.albercas-form-stacked {
	flex-direction: column;
	align-items: stretch;
}

.albercas-form-stacked .albercas-form-field {
	width: 100%;
	margin-right: 0;
	margin-bottom: 15px;
}

.albercas-form-stacked .albercas-form-field:last-child {
	margin-bottom: 0;
}

/* ==============================================
   DROPDOWN FIELDS WRAPPER - NO BORDER, NO GAP
   ============================================== */
.albercas-dropdowns-wrapper {
	display: flex;
	flex: 1;
	gap: 0;
	border: none;
	background-color: transparent;
}

/* ==============================================
   FORM FIELDS
   ============================================== */
.albercas-form-field {
	flex: 1;
	min-width: 0;
	position: relative;
}

/* Make button field narrower and separate */
.albercas-button-field {
	flex: 0 0 auto;
	min-width: 140px;
}

/* ==============================================
   SELECT DROPDOWN STYLES - NO BORDERS
   ============================================== */
.albercas-field-select {
	width: 100%;
	height: 50px;
	padding: 12px 40px 12px 20px;
	/* No borders */
	border: none;
	border-radius: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #fff;
	background-color: rgba(255, 255, 255, 0.08);
	background-clip: padding-box;
	cursor: pointer;
	transition: all 0.3s ease;

	/* Remove default arrow */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* Custom dropdown arrow */
.albercas-field-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2347BAB2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 15px center !important;
	background-size: 10px 8px !important;
}

/* Focus state */
.albercas-field-select:focus {
	outline: none;
	background-color: rgba(255, 255, 255, 0.12);
	position: relative;
	z-index: 10;
}

/* Hover state */
.albercas-field-select:hover {
	background-color: rgba(255, 255, 255, 0.12);
}

/* Placeholder text */
.albercas-field-select:invalid {
	color: rgba(255, 255, 255, 0.9);
}

/* Dropdown options */
.albercas-field-select option {
	color: #333;
	background-color: #fff;
	font-weight: 400;
	padding: 10px;
}

.albercas-field-select option:first-child {
	color: #999;
}

/* ==============================================
   SEARCH BUTTON
   ============================================== */
.albercas-search-button {
	width: 100%;
	height: 50px;
	padding: 12px 30px;
	/* Remove gradient - let Elementor control background */
	background-color: #00bcd4;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	box-shadow: none;
}

.albercas-search-button:hover {
	background-color: #0097a7;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 217, 245, 0.4);
}


.albercas-search-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0, 188, 212, 0.3);
}

.albercas-search-button i,
.albercas-search-button svg {
	margin-left: 8px;
	font-size: 14px;
	transition: transform 0.3s ease;
}

.albercas-search-button:hover i,
.albercas-search-button:hover svg {
	transform: translateX(3px);
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 1024px) {
	.albercas-form-field {
		min-width: 120px;
	}

	.albercas-field-select {
		font-size: 13px;
		padding-left: 16px;
		padding-right: 35px;
	}

	.albercas-search-button {
		font-size: 14px;
		padding: 12px 20px;
	}
}

@media (max-width: 768px) {
	.albercas-booking-title {
		font-size: 24px;
	}

	.albercas-booking-subtitle {
		font-size: 10px;
		letter-spacing: 1.5px;
	}

	.albercas-booking-search-form {
		flex-direction: column;
		gap: 15px;
	}

	.albercas-form-inline {
		flex-direction: column;
	}

	.albercas-dropdowns-wrapper {
		flex-direction: column;
		gap: 15px;
	}

	.albercas-form-field {
		width: 100%;
		margin-right: 0;
		margin-bottom: 0;
	}

	.albercas-button-field {
		min-width: 100%;
	}

	.albercas-search-button {
		width: 100%;
		border-radius: 6px;
	}
}

@media (max-width: 480px) {
	.albercas-booking-title {
		font-size: 20px;
	}

	.albercas-booking-subtitle {
		font-size: 9px;
	}

	.albercas-field-select,
	.albercas-search-button {
		height: 46px;
		font-size: 13px;
	}
}


/* First field - rounded left corners to match wrapper */
.albercas-form-inline .albercas-arrival-field .albercas-field-select {
	border-top-left-radius: 400px !important;
	border-bottom-left-radius: 400px !important;
}

/* Last field - rounded right corners to match wrapper */
.albercas-form-inline .albercas-location-field .albercas-field-select {
	border-top-right-radius: 400px !important;
	border-bottom-right-radius: 400px !important;
}
/* ==============================================
   DARK BACKGROUND SUPPORT
   ============================================== */
.dark-background .albercas-booking-title {
	color: #fff;
}

.dark-background .albercas-booking-subtitle {
	color: rgba(255, 255, 255, 0.7);
}

/* ==============================================
   ELEMENTOR EDITOR ADJUSTMENTS
   ============================================== */
.elementor-editor-active .albercas-field-select:invalid {
	color: rgba(255, 255, 255, 0.9);
}

.elementor-editor-active .albercas-booking-search-form {
	min-height: 50px;
}

.elementor-editor-active .albercas-field-select:focus {
	z-index: 10;
}





/**
 * AlberCAS Search Results - 2-COLUMN VERSION
 * Complete CSS with 2-column layout and no pagination
 *
 * @package AlberCAS
 */

/* ==============================================
   GLOBAL RESET & BASE
   ============================================== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.albercas-search-results-wrapper {
	padding: 60px 0;
	background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.albercas-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ==============================================
   SEARCH SUMMARY
   ============================================== */
.albercas-search-summary {
	background: #fff;
	padding: 35px;
	border-radius: 12px;
	margin-bottom: 30px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(71, 186, 178, 0.1);
}

.albercas-results-title {
	font-size: 32px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 20px 0;
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.albercas-search-params {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.albercas-param {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: linear-gradient(135deg, #47BAB2 0%, #3a9d96 100%);
	border-radius: 20px;
	font-size: 14px;
	color: #fff;
	font-weight: 500;
	box-shadow: 0 2px 8px rgba(71, 186, 178, 0.2);
}

.albercas-param i {
	font-size: 14px;
}

.albercas-param strong {
	font-weight: 600;
}

/* ==============================================
   FILTERS BAR
   ============================================== */
.albercas-filters-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
	padding: 25px 30px;
	border-radius: 12px;
	margin-bottom: 30px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(71, 186, 178, 0.1);
}

.albercas-results-count {
	font-size: 18px;
	color: #495057;
	font-weight: 500;
	line-height: 1.5;
}

.albercas-results-count .count-number {
	font-weight: 700;
	color: #47BAB2;
	font-size: 28px;
	margin-right: 5px;
}

.albercas-filter-controls {
	display: flex;
	gap: 15px;
	align-items: center;
}

.albercas-sort-select {
	padding: 12px 45px 12px 18px;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	background-color: #fff;
	color: #495057;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2347BAB2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px;
	transition: all 0.3s ease;
	line-height: 1.5;
}

.albercas-sort-select:hover {
	border-color: #47BAB2;
	box-shadow: 0 2px 8px rgba(71, 186, 178, 0.15);
}

.albercas-sort-select:focus {
	outline: none;
	border-color: #47BAB2;
	box-shadow: 0 0 0 3px rgba(71, 186, 178, 0.1);
}

.albercas-filter-toggle {
	display: none;
	padding: 12px 24px;
	background: linear-gradient(135deg, #47BAB2 0%, #3a9d96 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(71, 186, 178, 0.3);
}

.albercas-filter-toggle:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(71, 186, 178, 0.4);
}

.albercas-filter-toggle i {
	margin-right: 8px;
}

/* ==============================================
   RESULTS LAYOUT
   ============================================== */
.albercas-results-layout {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 30px;
	align-items: start;
}

/* ==============================================
   SIDEBAR FILTERS
   ============================================== */
.albercas-sidebar-filters {
	background: #fff;
	border-radius: 12px;
	padding: 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(71, 186, 178, 0.1);
	position: sticky;
	top: 20px;
	overflow: hidden;
}

.albercas-filters-inner {
	padding: 25px;
}

.albercas-filter-title {
	font-size: 22px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 25px 0;
	padding-bottom: 20px;
	border-bottom: 3px solid #47BAB2;
	line-height: 1.2;
}

.albercas-filter-group {
	margin-bottom: 30px;
	padding-bottom: 25px;
	border-bottom: 1px solid #f0f0f0;
}

.albercas-filter-group:last-of-type {
	border-bottom: none;
	padding-bottom: 5px;
}

.albercas-filter-group h4 {
	font-size: 15px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 15px 0;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	line-height: 1.2;
}

.albercas-price-inputs {
	display: flex;
	align-items: center;
	gap: 10px;
}

.albercas-price-inputs span {
	color: #6c757d;
	font-weight: 600;
}

.albercas-price-input {
	flex: 1;
	padding: 12px 15px;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #495057;
	transition: all 0.3s ease;
}

.albercas-price-input:focus {
	outline: none;
	border-color: #47BAB2;
	box-shadow: 0 0 0 3px rgba(71, 186, 178, 0.1);
}

.albercas-price-input::placeholder {
	color: #adb5bd;
}

.albercas-checkbox-label {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	font-size: 14px;
	color: #495057;
	cursor: pointer;
	line-height: 1.5;
	user-select: none;
	transition: all 0.2s ease;
}

.albercas-checkbox-label:hover {
	color: #2c3e50;
	padding-left: 5px;
}

.albercas-checkbox-label input[type="checkbox"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: #47BAB2;
	margin: 0;
}

.albercas-filter-apply,
.albercas-filter-reset {
	width: 100%;
	padding: 14px 20px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 15px;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.albercas-filter-apply {
	background: linear-gradient(135deg, #47BAB2 0%, #3a9d96 100%);
	color: #fff;
	box-shadow: 0 4px 12px rgba(71, 186, 178, 0.3);
}

.albercas-filter-apply:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(71, 186, 178, 0.4);
}

.albercas-filter-reset {
	background: #f8f9fa;
	color: #6c757d;
	border: 2px solid #e9ecef;
}

.albercas-filter-reset:hover {
	background: #e9ecef;
	border-color: #dee2e6;
}

/* ==============================================
   RESULTS GRID - 2 COLUMNS
   ============================================== */
.albercas-results-main {
	min-width: 0;
}

.albercas-results-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}

/* ==============================================
   RESULT CARD
   ============================================== */
.albercas-result-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid rgba(71, 186, 178, 0.1);
}

.albercas-result-card:hover {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
	transform: translateY(-8px);
	border-color: rgba(71, 186, 178, 0.3);
}

.albercas-card-image {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
	background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.albercas-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	display: block;
}

.albercas-result-card:hover .albercas-card-image img {
	transform: scale(1.1);
}

.albercas-card-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	background: linear-gradient(135deg, #47BAB2 0%, #3a9d96 100%);
	color: #fff;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(71, 186, 178, 0.4);
	z-index: 2;
}

.albercas-card-content {
	padding: 25px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.albercas-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 15px;
	gap: 15px;
}

.albercas-card-title {
	font-size: 20px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0;
	flex: 1;
	line-height: 1.3;
	letter-spacing: -0.3px;
}

.albercas-card-rating {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
	flex-shrink: 0;
}

.albercas-stars {
	color: #ffc107;
	font-size: 16px;
	line-height: 1;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.albercas-rating-text {
	font-size: 16px;
	font-weight: 700;
	color: #2c3e50;
	line-height: 1;
	background: #f8f9fa;
	padding: 4px 10px;
	border-radius: 12px;
}

.albercas-card-location {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #6c757d;
	margin-bottom: 20px;
	line-height: 1.5;
	font-weight: 500;
}

.albercas-card-location i {
	color: #47BAB2;
	flex-shrink: 0;
	font-size: 14px;
}

.albercas-card-features {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 2px solid #f0f0f0;
}

.albercas-feature {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #6c757d;
	line-height: 1.5;
	background: #f8f9fa;
	padding: 6px 12px;
	border-radius: 20px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.albercas-feature:hover {
	background: #47BAB2;
	color: #fff;
}

.albercas-feature:hover i {
	color: #fff;
}

.albercas-feature i {
	color: #47BAB2;
	font-size: 13px;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.albercas-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	gap: 15px;
}

.albercas-card-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
}

.albercas-price-from {
	font-size: 12px;
	color: #6c757d;
	line-height: 1;
	font-weight: 500;
}

.albercas-price-amount {
	font-size: 28px;
	font-weight: 700;
	color: #47BAB2;
	line-height: 1;
	letter-spacing: -0.5px;
}

.albercas-price-per {
	font-size: 12px;
	color: #6c757d;
	line-height: 1;
	font-weight: 500;
}

.albercas-card-button {
	display: inline-block;
	padding: 12px 24px;
	background: linear-gradient(135deg, #47BAB2 0%, #3a9d96 100%);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	transition: all 0.3s ease;
	line-height: 1.5;
	border: none;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(71, 186, 178, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.albercas-card-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(71, 186, 178, 0.4);
	color: #fff !important;
}

/* ==============================================
   NO PAGINATION
   ============================================== */
.albercas-pagination {
	display: none !important;
}

/* ==============================================
   ANIMATIONS
   ============================================== */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.albercas-result-card {
	animation: fadeIn 0.6s ease forwards;
}

.albercas-result-card:nth-child(1) { animation-delay: 0.05s; }
.albercas-result-card:nth-child(2) { animation-delay: 0.1s; }
.albercas-result-card:nth-child(3) { animation-delay: 0.15s; }
.albercas-result-card:nth-child(4) { animation-delay: 0.2s; }
.albercas-result-card:nth-child(5) { animation-delay: 0.25s; }
.albercas-result-card:nth-child(6) { animation-delay: 0.3s; }

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 1024px) {
	.albercas-results-layout {
		grid-template-columns: 1fr;
	}

	.albercas-sidebar-filters {
		position: fixed;
		top: 0;
		left: -100%;
		width: 320px;
		height: 100vh;
		z-index: 1000;
		transition: left 0.3s ease;
		overflow-y: auto;
		box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
	}

	.albercas-sidebar-filters.active {
		left: 0;
	}

	.albercas-filter-toggle {
		display: inline-flex;
		align-items: center;
	}

	/* Keep 2 columns on tablet */
	.albercas-results-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.albercas-search-results-wrapper {
		padding: 30px 0;
	}

	.albercas-container {
		padding: 0 15px;
	}

	.albercas-search-summary {
		padding: 25px;
	}

	.albercas-results-title {
		font-size: 26px;
	}

	.albercas-filters-bar {
		flex-direction: column;
		gap: 15px;
		align-items: stretch;
		padding: 20px;
	}

	.albercas-filter-controls {
		width: 100%;
		flex-direction: column;
	}

	.albercas-sort-select,
	.albercas-filter-toggle {
		width: 100%;
	}

	/* 1 column on mobile */
	.albercas-results-grid {
		grid-template-columns: 1fr !important;
		gap: 20px;
	}

	.albercas-sidebar-filters {
		width: 90%;
		max-width: 320px;
	}
}

@media (max-width: 480px) {
	.albercas-search-summary {
		padding: 20px;
	}

	.albercas-results-title {
		font-size: 22px;
	}

	.albercas-results-count .count-number {
		font-size: 24px;
	}

	.albercas-card-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.albercas-card-rating {
		align-items: flex-start;
		flex-direction: row;
		gap: 8px;
	}

	.albercas-card-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.albercas-card-button {
		width: 100%;
	}
}

/* ==============================================
   PRINT STYLES
   ============================================== */
@media print {
	.albercas-sidebar-filters,
	.albercas-filter-toggle,
	.albercas-sort-select {
		display: none !important;
	}

	.albercas-results-layout {
		grid-template-columns: 1fr;
	}

	.albercas-search-results-wrapper {
		background: #fff;
		padding: 0;
	}

	.albercas-result-card {
		page-break-inside: avoid;
	}
}