/* Meta box inputs full width */
#ds_details p {
    margin-bottom: 15px;
}
form#ds-city-search-form{
	display: flex;
}
form#ds-city-search-form input[type="text"]{
	border: 1px solid #fff;
}
#ds_details label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

#ds_details input[type="text"] {
    width: 70%;
    padding: 8px;
    box-sizing: border-box;
}



/* ----- Search Form Styling ----- */


#ds-city-search-form input[type="text"] {
    flex: 1; /* take full remaining width */
    padding: 10px 12px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

#ds-city-search-form input[type="text"]:focus {
    border-color: #0073aa; /* WordPress blue on focus */
}

#ds-city-search-form button {
    padding: 10px 20px;
    background-color: #069BED;
    color: #fff;
    border: none;
    border-radius: 100px;
border: 1px solid #069BED;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 30%;
}

#ds-city-search-form button:hover {
   background-color: #02010100;
border: 1px solid #069BED;
    color: #069BED;}


/* Single Driving School Page Styling */
.ds-single-school {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    background: #7071c4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-family: Arial, sans-serif;
}

.ds-single-school h1.ds-school-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #0073aa; /* WordPress blue */
    text-align: center;
}

.ds-single-school .ds-school-meta p {
    font-size: 16px;
    margin-bottom: 12px;
    color: #0073aa;
}

.ds-single-school .ds-school-meta strong {
    color: #333;
    width: 120px;
    display: inline-block;
}

.ds-single-school .ds-school-back {
    margin-top: 20px;
    text-align: center;
}

.ds-single-school .ds-school-back a {
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
    transition: color 0.3s;
}

.ds-single-school .ds-school-back a:hover {
    color: #005177;
}




.ds-city-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.ds-school-card {
    width: calc(50% - 20px);
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    background: #688dc5;
    color: #000000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ds-school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.ds-school-image {
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ds-school-name {
    font-size: 28px;
    color: #160A47;
    margin-top: 0;
    text-transform: capitalize;
    font-family: 'Roboto';
    font-weight: 600;
}

@media screen and (max-width: 600px) {
    .ds-school-card {
        width: 100%;
    }
}



/**/

/* Container for cards */
.ds-city-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.ds-school-card {
    width: calc(45% - 20px);
    box-sizing: border-box;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    transition: box-shadow 0.2s ease;
    background: #fff;
}

.ds-school-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ds-school-image img {
    width: 100%;
    max-width: 400px;
    height: 100%;
    border-radius: 5px;
    display: block;
    margin: 0 auto 10px;
    object-fit: cover;
}



/******************/

#services-input {
    width: 100% !important;      /* make input full width */
    min-width: 100%;             /* prevent shrinking */
    box-sizing: border-box;      /* include padding in width */
}

.tagify {
    width: 100% !important;      /* the Tagify wrapper */
}

.tagify__input {
    min-width: 100% !important;  /* keep input inside tagify full width */
}

/*** Badge**/


/* Base badge style */
.discount-badge {
    position: absolute;
    top: 10px;          /* Adjust distance from top */
    left: 10px;         /* Adjust distance from left */
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Badge Colors */
.discount-badge.green {
    background-color: #df3636; /* Lowest Price - green */
}

.discount-badge.gold {
    background-color: #f1c40f; /* Best Rating - gold */
    color: #000;               /* dark text for contrast */
}

.discount-badge.blue {
    background-color: #3498db; /* Best Option - blue */
}

/* Optional: hover effect on image */
.service-image .image-link:hover .discount-badge {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}


.required-field {
    color: red;       /* red color to indicate required */
    font-weight: bold;
    margin-left: 4px; /* small spacing from label */
}
/** Rating Star Css**/
.ds-stars {
    display: inline-block;
    font-size: 16px;
}

/* Full stars */
.ds-stars i.fa-star {
    color: #f1c40f; /* gold */
}

/* Half stars */
.ds-stars i.fa-star-half-alt {
    color: #f1c40f; 
   
}

/* Empty stars */
.ds-stars i.far.fa-star {
    color: #ddd; 
}

.ds-stars i {
    margin-right: 2px;
}




 /**Form container**/
.ds-combined-filter {
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    background: #fafafa;
}

/* Keyword search */
.ds-combined-filter .search-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ds-combined-filter .ds_search {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    width: 280px;
}
input:focus-visible, input:focus {
    outline-offset: 0px;
    outline: 0;
    border: 1px solid #fff !important;
}
input[type=text]:focus{
  border: 1px solid #f5f5f5 !important;
}
.ds-combined-filter .search-btn {
    background: transparent;
    color: #069BED;
    padding: 10px 20px;
    text-decoration: none !important;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 400;
    transition: 0.3s;
    font-family: "Poppins", Sans-serif;
    border-radius: 100px;
    border: 1px solid #069BED;
    width: 100%;
}

.ds-combined-filter .search-btn:hover {
    background: #069BED;
    color: #fff;
}
.custom-filter-container{
	display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}
.noUi-connect {
    background: #069BED !important;
}
/* Slider container */
.ds-combined-filter .slider-container {
    margin-bottom: 0;
    width: 80%;
    
}

.ds-combined-filter .slider-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #160A47;
    font-family: "Roboto", Sans-serif;
}

.ds-combined-filter #slider {
    width: 97%;
   margin: 0 auto;
    margin-bottom: 10px;
}

.ds-combined-filter .slider-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* Buttons */
.ds-combined-filter .button-group {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
    width: 20%;
    
}
[type=submit]:focus, button:focus{
background-color: #069BED !important;
}

.ds-combined-filter .button-group .search-btn,
.ds-combined-filter .button-group .ds-clear-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
}
.ds-combined-filter .ds-clear-btn {
    color: #069BED;
    text-decoration: none !important;
    font-size: 12px;
    text-transform: capitalize;
    font-weight: 400;
    transition: 0.3s;
    font-family: "Poppins", Sans-serif;
}


/* Slider min/max inputs hidden */
#min-price-input,
#max-price-input {
    display: none;
}
a.website-btn {
    background-color: #069bed;
    padding: 5px 20px;
    text-decoration: none !important;
    font-size: 12px;
    text-transform: capitalize;
    font-weight: 400;
    transition: 0.3s;
    font-family: "Poppins", Sans-serif;
    border-radius: 100px;
    border: 1px solid #069BED;
    display: inline-block;
    color: #fff;
    width: 150px;
    text-align: center;
}

.website-btn:hover {
    background-color: #fff;
    color: #069BED;
    border: 1px solid #069BED;
}

@media screen and (max-width: 900px) {
    .ds-school-card { width: calc(50% - 20px); }
}
@media screen and (max-width: 767px){
	    .custom-filter-container{
    	flex-direction: column;
    }
    .ds-combined-filter .slider-container{
    	width: 100%;
    }
    .ds-combined-filter .button-group {
    	width: 100%;
}
.ds-combined-filter .ds_search, .ds-combined-filter .search-btn{
	width: 100%;
}
.ds-combined-filter .search-container{
	flex-direction: column;
}
}
@media screen and (max-width: 600px) {
    .ds-school-card { width: 100%; }
	#ds-city-search-form button { width: auto; }
    
	
}

/*Drop down style*/

/* Search bar styling */
    #ds-city-search-form { 
    position: relative; 
    width: 100%;
}

/* Input */
#ds-city-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #dcdce6;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* input focus like screenshot */
#ds-city-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.15);
}

/* Dropdown container */
#ds-city-dropdown-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e4ecf2;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    z-index: 9999;
    display: none;
}

/* Dropdown items */
#ds-city-dropdown-list div {
    padding: 14px 16px;
    cursor: pointer;
    font-size: 15px;
    font-family: "Poppins", Sans-serif;
    color: #7A7A7A;
    transition: background 0.15s ease, color 0.15s ease;
}

/* Hover like screenshot */
#ds-city-dropdown-list div:hover {
    background: #eef0ff;
    color: #1AACF0;
}

/* Selected item (if JS adds class) */
#ds-city-dropdown-list .active,
#ds-city-dropdown-list .selected {
    background: #e6e8ff;
    color: #1AACF0;
    font-weight: 500;
}

/* Scrollbar styling */
#ds-city-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

#ds-city-dropdown-list::-webkit-scrollbar-thumb {
    background: #d6d6e0;
    border-radius: 10px;
}

#ds-city-dropdown-list::-webkit-scrollbar-track {
    background: transparent;
}

/* Remove native arrow for input */
input::-webkit-calendar-picker-indicator,
input::-webkit-inner-spin-button,
input::-webkit-clear-button {
    display: none;
    -webkit-appearance: none;
}