body {

    font-family: 'Roboto', sans-serif;

    background-color: #f5f5fa;

    display: flex;

    justify-content: center;

    padding: 20px;

}

#service-type{
    padding: 0 !important;
    padding-left: 10px !important;
}
.arrival{
    display: flex;
    gap: 5px;
}
.card-container {
    width: 95%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 16px;
    gap: 30px;
    border: 1px solid #eee;
    border-left: 5px solid #362017;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}



.tailor-image {

    width: 32%;

    img{

        width: 210px;

        height: 210px;

        object-fit: contain;

    }

}



.buttons.tailor-book-appointment {

    width: 30%;

}



img {

    width: 100%;

    height: 100%;

}



.tailor-details {

    width: 40%;

}

.card-content {

    display: flex;

    flex-direction: column;

    width: 100%;

}



.route-info {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-direction: column;
    margin-bottom: 5px;

    h3{
        margin-bottom: 2px;
        font-size: 20px;
        color: #222;
        font-weight: 700;
    }
}



h3 {

    margin: 0;

    font-size: 18px;

    color: #333;

}



.flight-details {

    display: flex;

    align-items: center;

    margin-bottom: 10px;

    font-size: 14px;

    color: #666;

}



.duration {

    margin-right: 15px;

    font-weight: bold;

}



.arrival .time {

    font-weight: bold;

    color: #333;

}



.price-info {
    font-size: 20px;
    font-weight: bold;
    color: #C5A065;
    margin-top: 5px;
}



.book-button {
    background-color: #362017;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-button:hover {
    background-color: #5D4037;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(54, 32, 23, 0.2);
}



/* Overlay Styles */

.overlay {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.7);

    z-index: 1000;

    justify-content: center;

    align-items: center;

}



.overlay-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.overlay-content h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #362017;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-btn:hover {
    color: #362017;
}

form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    font-size: 14px;
}

form input, form textarea, form select {
    width: 100%;
    padding: 12px;
    margin-top: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fafafa;
}

form input:focus, form textarea:focus, form select:focus {
    border-color: #362017;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(54, 32, 23, 0.1);
}

.submit-registration.loading {
    background-color: #8D6E63;
    cursor: not-allowed;
    opacity: 0.8;
}
.container-main {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.store-list {
    width: 70%;
}

.filter-section {
    width: 25%;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.filter-section h3 {
    margin-bottom: 10px;
}

.filter-section label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
}

.filter-section input[type="checkbox"] {
    accent-color: #362017;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.filteration{
    width: 100%;
    background: #362017;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.filteration:hover {
    background-color: #5D4037;
    transform: translateY(-1px);
}
.business-registration {
    margin-top: 30px;
    text-align: center;
    background: #eef;
    padding: 15px;
    border-radius: 10px;
}

.new-business {
    background-color: #362017;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.new-business:hover {
    background-color: #5D4037;
    transform: translateY(-1px);
}
.business-hours {
    display: flex;
    justify-content: space-between;
}

.business-hours p {
    width: 48%;
}

.submit-registration {
    width: 100%;
    background-color: #362017;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.submit-registration:hover {
    background-color: #5D4037;
    transform: translateY(-1px);
}

.success-message {
    color: green;
    text-align: center;
    margin-top: 10px;
}
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination .current-page {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination a:hover {
    background-color: #f1f1f1;
}

.pagination .dots {
    border: none;
    padding: 8px 4px;
}

/* Business Intro Styles */
.business-intro-content {
    font-size: 12px;
    margin-bottom: 5px;
}

.read-more-btn {
    font-size: 11px;
    color: #C5A065;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: 5px;
    font-weight: 600;
}

/* Custom Scrollbar */
.overlay-content::-webkit-scrollbar {
    width: 8px;
}

.overlay-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.overlay-content::-webkit-scrollbar-thumb {
    background: #362017;
    border-radius: 4px;
}

.overlay-content::-webkit-scrollbar-thumb:hover {
    background: #5D4037;
}

/* Booking Overlay Map & Layout */
.map-container {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    position: relative; /* Ensure proper positioning context */
}

.google-maps {
    width: 100%;
    height: 100%;
}

.main-booking-form {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.overlay-left {
    width: 40%;
}

/* Loader Image Size */
.loader-image {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 10px 0;
}

.overlay-right {
    width: 55%;
}

.overlay-left h2 {
    text-align: left;
    margin-bottom: 15px;
}

.overlay-left ul {
    list-style: none;
    padding: 0;
}

.overlay-left li {
    margin-bottom: 10px;
    color: #555;
}

.full-width-book-button {
    background-color: #362017;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.full-width-book-button:hover {
    background-color: #5D4037;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .airport p {
        margin: 0;
    }
    .container-main {
        flex-direction: column-reverse; /* Show content first, then filters? Or standard column? Standard is better usually. */
        flex-direction: column;
    }
    
    .store-list {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .filter-section {
        width: 100%;
        margin-bottom: 20px;
    }

    /* Registration Popup Responsive */
    .overlay-content {
        width: 95%;
        padding: 20px;
        max-height: 90vh; /* Keep it max height */
    }

    .overlay-content h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }
    
    /* Booking Overlay Responsive */
    .main-booking-form {
        flex-direction: column;
    }
    
    .overlay-left, .overlay-right {
        width: 100%;
    }
    
    .map-container {
        height: 200px;
    }

    /* Form Fields Stacking */
    .business-hours {
        flex-direction: column;
    }

    .business-hours p {
        width: 100%;
        margin-bottom: 10px;
    }
    
    form label {
        margin-top: 10px;
    }

    /* Tailor Card Responsive */
    .card-container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-left: 1px solid #eee; /* Reset side border */
        border-top: 5px solid #362017; /* Move accent to top */
        text-align: center;
    }

    .tailor-image {
        width: 100%;
        margin-bottom: 10px;
    }

    .tailor-image img {
        width: 180px;
        height: 180px;
        margin: 0 auto;
        display: block;
    }

    .tailor-details {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .route-info {
        align-items: center;
    }
    
    .buttons.tailor-book-appointment {
        width: 100%;
    }
    
    .book-button {
        width: 100%;
    }
}
