/*
Theme Name:   Hello Elementor Child
Theme URI:    https://wordpress.org/themes/helloelementor/
Description:  Hello Elementor child theme
Author:       Mukesh Kumar
Author URI:   https://pixxelu.com
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/
.recent-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.recent-car-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.recent-car-card:hover {
    transform: translateY(-5px);
}

.recent-car-card img {
    width: 100%;
    height: 230px !important;
    object-fit: cover;
    display: block;
}

.recent-car-card h4 {
    font-size: 18px !important;
    padding: 18px 10px;
    margin: 0;
    color: #333 !important;
}

/* Optional: Responsive tweaks for smaller screens */
@media screen and (max-width: 768px) {
    .recent-car-card h4 {
        font-size: 16px;
    }
}



.my-popup-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.my-popup-modal .popup-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
}

.my-popup-modal .close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}
input#priceRange {
    width: 100%;
}

.filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.filter-bar .filter-btn {
  padding: 8px 14px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  color: #000 !important;
}

.filter-bar .filter-btn:hover {
  background: #474fa0 !important;
	color:#fff !important;
	font-size: 14px !important;
}
.filter-bar .filter-btn:active {
  background: #474fa0 !important;
	color:#fff !important;
	font-size: 14px !important;
}

.filter-bar .icon-btn {
  display: flex;
  align-items: center;
  gap: 5px;
}

.filter-bar .icon {
  font-size: 16px;
}
div#car_gallery_container {
    background: #cdcd;
    padding: 10px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* two columns */
    gap: 15px;
    list-style: none;
    padding: 0;
}
.gallery-item .image-wrapper {
    position: relative;
    width: 100%;
    max-width: 150px;
	border: 1px solid #cdcdcd;
}
.gallery-item img {
    width: 100% !important;
    height: auto;
    border-radius: 8px;
    display: block;
}
.gallery-grid .remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #3090B3;
    color: white;
    border: none;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 14px;
    cursor: pointer !important;
    line-height: 18px;
    text-align: center;
    padding: 36px;
}
.search-container input, .search-container select {
    width: 100% !important;
    flex: auto !important;
    height: 40px;
    font-size: 13px !important;
    border: 1px solid #ddd !important;
}
.search-container button.search-btn {
    width: 54px !important;
}
.search-container .field-group {
    gap: 15px;
}

.error-message, .err-msg {
	color: red;
	font-size: 12px;
	margin-top: 5px;
}
.success-msg {
    color: green;
    font-size: 12px;
    margin-top: 5px;
    border: 1px solid green;
    margin: 0px auto;
    padding: 12px;
    text-align: center;
}

/*******home banner search section*******/
.container {					
	overflow: hidden;
	max-width: 1140px;
	margin:0 auto;
	padding: 10px;
}
.container-fluid{		
	width:100%;
	padding: 10px;
}
.search-container {
	 display: flex;
	 align-items: center;
	 background: white;
	 padding: 10px 25px;
	 border-radius: 50px;
	 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	 gap: 15px;
}
.search-container-v2{
	display: flex;
	align-items: center;
	gap: 15px;
}
.search-field {
	display: flex;
	flex-direction: column;
	width: 30%;
}
.row{
	display:flex;
}
.field-group {
    display: flex;
}
.search-container label {
	font-size: 12px;
	margin-bottom: 5px;
}
.search-container input,
.search-container select {
	border: none;
	padding: 0px 10px !important;
	font-size: 16px;
	outline: none;
	border-radius: 5px;
}
.search-container input[type="text"] {
	flex: 1;
	border-radius: 20px;
}
.search-container button {
	background: #5c57ff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50% !important;
    cursor: pointer;   
    position: relative;
    right: -25px;
    height: 55px;
    width: 55px;
}
gmpx-place-autocomplete#autocomplete-car-location {
    display: none;
}
div#map {
    height: 600px;
    width: 100%;
}
.car-category-card img {
    width: 100%;
}
/***car 
.car-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    padding: 20px;
}
list****/
.car-list {
	max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
}
.car-list-card {
	position:relative;
    background: white;
    border-radius: 10px;
    border: 1px solid #cdcdcd;
    overflow: hidden;      
    margin: 10px;   
}
.car-list-card-inner{
	display:flex;	
}

.car-booked-label {
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: #e60000;
	color: #fff;
	padding: 5px 12px;
	font-size: 14px;
	font-weight: bold;
	border-radius: 5px;
	z-index: 10;
}

.booked-car {
	opacity: 0.4;
	pointer-events: none;
}
.booked-car::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.1); /* light black */
	z-index: 1;
	border-radius: 8px;
}
.car-list-card-details h3 {
    font-size: 20px !important;
}

.car-list-card img {
    width: 100%;
    height: 100%;   
}

.car-list-card-details {   
    width: 60% !important;
}

.car-list-card h3 {
    font-size: 18px !important;
	text-align: left;
	margin-left:15px;
}

.car-list-card-details p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.car-list-card-meta {
    margin-top: 10px;
	padding-left: 15px;
}
.car-list-card-meta img {
    width: 22px;
	 margin-right: 5px;
}

.car-list-card-meta span {
    display: flex;
    font-size: 14px;
    margin-bottom: 5px;
}

.car-list-card .view-detail {
    display: block;
    text-align: left;
    color: #0073e6;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
    border-bottom: 2px solid #5E865B;
    width: 50%;
    padding: 6px 25px;
    margin: 10px auto;
}








/****car single page****/
.car-single-page {
    max-width: 100%;
    margin: auto;
    padding: 20px;
}
.car-gallery-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Featured image takes more space */
    gap: 10px;    
    margin: auto;
}

.featured-image img {
    width: 100%;
    height: auto;   
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.gallery-thumbnails {
    height: 56vh !important;
    overflow: hidden;
    overflow-y: scroll;
}
.gallery-thumbnails img {
    width: 100%;
    height: 100%;    
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.gallery-thumbnails a {
    display: block;
}

.car-detail-section{
	display:flex;
}
.car-details{
	width:70%;
	padding-right: 20px;
}
.booking-car-sec {
    width: 30%;
    padding: 0 20px;
}
.car-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}
.car-description {
    font-size: 16px;
    line-height: 1.6;
	border-bottom: 1px solid #5E865B;
    padding: 25px 0;
}

.car-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.car-detail-item {
    display: flex;
    align-items: center;
}

.car-detail-icon {
    font-size: 24px;
    margin-right: 8px;
	width:20px;
}

.car-booking {
    text-align: center;
    margin-top: 20px;
}

.similar-cars h4 {
    margin: 50px 0;
}
.basic_detail{
	border-bottom: 1px solid #5E865B;
    padding: 25px 0;
}
.car-host {
    border-bottom: 1px solid #cdcdcd;
    padding: 25px 0;
}
.host-img img {
    border-radius: 50% !important;
}
.host-info-sec {
    display: flex;
    gap: 20px;
}
form#book-car-form {
    margin: 50px 0;
}
.similar-car-sec {
    margin: 50px 0;
}
p.confirm_msg {
    line-height: 30px;
    font-size: 18px;
    margin: 20px 0;
}

/**my profile**/
.booking-timeline {
	position: relative;
	padding-left: 20px;
	margin-top: 20px;
}
.timeline-content-info{
	display:flex;
}
.timeline-content-data{
	padding:20px;
}
.timeline-item {
	position: relative;
	padding: 10px;
	margin-bottom: 20px;
	border-left: 3px solid #0073aa;
	background: #f9f9f9;
	border-radius: 5px;
	padding-left: 20px;
	display: flex;
	gap: 15px;
	align-items: center;
}
.timeline-date {
	font-weight: bold;
	color: #0073aa;
	min-width: 100px;
}
.timeline-content {
	flex: 1;
}
.timeline-content h3 {
	margin: 5px 0;
}

.status {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: bold;
	color: white;
}
.status.pending { background: orange; }
.status.confirmed { background: green; }
.status.cancelled { background: red; }

.customer-profile {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);	
	margin: auto;
}
.customer-profile h2 {
	text-align: center;
	font-size: 22px;
	color: #2c3e50;
	margin-bottom: 15px;
}
.tab-content {
	display: none;
}
.tab-content.active {
	display: block;
}

.daterangepicker .calendar-time {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  max-width: 100px;
}
.daterangepicker .drp-calendar {
  max-width: max-content !important;
}
.search-result-sec {
    display: flex;
    gap: 10px;
}
.col-fifty{
	width:50%;
	padding:10px;
}
.sticky-map {
    position: sticky;
    top: 20px; 
}

.car-categories {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    gap: 10px;
}
.car-category-card {    
    border: 1px solid #cdcdcd;
    border-radius: 7px;
	background: #5E865B;
}
.car-category-card img {
    height: 235px !important;
}
.car-category-card h3 {
    text-align: center;
    font-size: 25px !important;
	color:#fff !important;
}
.search-container {
	margin:10px;
}
input {
	width: 100%;
	padding: 7px;
}
p.total-fee {
    background: #b6eeb2;
    border-left: 3px solid #5E865B;
    padding: 5px;
}
.vehicle-option-section {
    display: grid;
    grid-template-columns: 50% 50%;
	gap:10px;
}
.vehicle-option-section .vehicle-type, .vehicle-option-section .vehicle-brand, .vehicle-option-section .vehicle-seats {
    border: 1px solid #5E865B;
    border-radius: 5px;
    padding: 10px;
}
.vehicle-type, .vehicle-brand, .vehicle-seats {
    display: flex;
    gap: 10px;
    align-items: center;
}

.vehicle-type input, .vehicle-brand input, .vehicle-seats input {
    width: 20px;
    height: 20px;
}
p.comment-form-cookies-consent {
    display: flex;
}
p.comment-form-cookies-consent input {
    width:7%;
}
p.comment-form-cookies-consent label {
    width:93%;
	padding-left:10px;
}
.error{
	margin:5px 0;
	padding:5px;
	border:1px solid #f00;
	color:#f00;
}
@media only screen and (max-width: 767px) {
  	/* Styles for phones go here */
	.search-container {
    	display: block;
		border-radius:10px;
	}
	.search-field {
		display:block;
		width:100%;
	} 
	.search-container button.search-btn {
		width: 100% !important;
		border-radius: 7px !important;
		right: 0 !important;
		height:45px !important;
	}
	.car-categories {
		display:block;
	}
	.car-category-card {
		margin:15px 0;
	}
	.search-result-sec {
		display: block;
	}
	.car-list {
		width:100%;
	}
	.filter-bar {
		margin:10px;
	}
	.car-list-card-inner {
		display: block;
	}
	.car-image {
		width: 100%;
	}
	.car-list-card-details {
		width: 100% !important;
	}
	.col-fifty:nth-of-type(2) {
	  display: none;
	}
	.my-popup-modal .popup-content {    
		margin: 30% auto;
	}
	/*gallary*/
	.car-gallery-container {  
		display: flex;
		gap: 20px;
		flex-wrap: wrap;
	}
	.car-detail-section {
		display: block;
	}
	.car-details {
		width: 100%;
		padding: 20px;
	}
	.car-info {
		padding:0 !important;
	}
	.car-single-page {
		max-width: 100%;		
		padding: 0;
	}
	.car-detail-section {
		flex-direction: column;
	}
	.booking-car-sec {
		order: -1; /* Move booking form to the top */
	}
	.booking-car-sec {
		width: 100%;
	}
	
	button.btn {
		width: 100%;
	}
	.car-list-card .view-detail:hover {
		color: #fff;
		background: #5E865B;
		border-radius: 7px;		
	}
	
	.gray {
		padding:10px !important;
	}
	.car-grid {
    	display: block !important;
	}
	.car-card{
		width:100% !important;
		margin:30px 0;
	}
	p.form-submit .submit {
		width: 100% !important;
	}
	
}