/* Custom Fonts */
/* تطبيق الخط */
/* Custom Fonts */
body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-weight: 500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-weight: 500;
}

.dark-theme {
    background-color: #1a1a1a;
    color: #ffffff;
}

.price {
    text-align: right;
    width: 100%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.price span {
    color: #B36B2A;
    font-size: 1.6rem;
    font-weight: bold;
    order: 1;
}

.saudi-riyal-icon {
    width: 12px;
    height: auto;
    margin-right: 5px;
    order: 2;
}

.custom-price-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    width: 100%;
    direction: rtl;
}

.custom-price-amount {
    color: #B36B2A;
    font-size: 1.6rem;
    font-weight: bold;
    margin-left: 5px;
}

.custom-price-icon {
    width: 10px;
    height: auto;
}

.car-price-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
    width: 100%;
    direction: rtl;
}

.car-price-amount {
    color: #B36B2A;
    font-size: 1.6rem;
    font-weight: bold;
    margin-left: 5px;
}

.car-price-icon {
    width: 10px;
    height: auto;
}

.dark-theme .search-box {
    background: #2d2d2d;
    border-color: #B36B2A;
    border-width: 3px;
    padding: 2rem;
}

.dark-theme .field-wrapper {
    background: #333333;
    border-color: #4a4a4a;
    border-width: 2px;
}

.dark-theme .field-wrapper select,
.dark-theme .field-wrapper input,
.dark-theme .field-wrapper .guests-display {
    color: #ffffff;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 500;
}

.agent-theme .banners-section {
    margin: 40px auto;
}

.agent-theme .banner-card {
    width: 90%;
    height: 250px;
    margin: 0 auto;
    border-radius: 15px;
    background-color: #2d2d2d;
}

.agent-theme .swiper-container {
    padding-bottom: 40px;
}

.agent-theme .swiper-slide {
    height: auto;
}

.agent-theme .swiper-button-next,
.agent-theme .swiper-button-prev {
    color: #B36B2A;
    font-weight: bold;
    font-size: 1.5rem;
}

.agent-theme .swiper-pagination-bullet {
    background: #666;
    width: 12px;
    height: 12px;
}

.agent-theme .swiper-pagination-bullet-active {
    background: #B36B2A;
    width: 15px;
    height: 15px;
}

.agent-theme .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dark-theme .car-card {
    background: #2d2d2d;
    border: 2px solid #4a4a4a;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.dark-theme .car-info h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.agent-theme .banner-card {
    width: 380px;
    height: 250px;
    margin: 0 auto;
    border-radius: 20px;
}

.agent-theme .swiper-slide {
    display: flex;
    justify-content: center;
}

.agent-theme .banner-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.dark-theme .cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    width: 90%;
    max-width: 1300px;
}

.dark-theme .features {
    display: none;
}

.dark-theme #singleTrip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.dark-theme #roundTrip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.dark-theme #hoursTrip {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.banners-section {
    padding: 2rem 0;
    margin-top: 30px;
}

.banners-slider {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.swiper-container {
    overflow: hidden;
    position: relative;
    padding-bottom: 30px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-card {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.banner-image:hover {
    transform: scale(1.1);
}

.swiper-button-next, .swiper-button-prev {
    color: #B36B2A;
    font-size: 1.5rem;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: #B36B2A;
}

.car-card, .feature-card, .rent-btn, .search-btn, .btn {
    transition: all 0.3s ease;
}

.rent-btn:hover, .search-btn:hover, .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.agent-theme .banner-card {
    background: #2d2d2d;
    border: 2px solid #4a4a4a;
}

.agent-theme .banner-image {
    opacity: 0.9;
}

.agent-theme .swiper-button-next,
.agent-theme .swiper-button-prev {
    color: #B36B2A;
}

.agent-theme .swiper-pagination-bullet {
    background: #808080;
}

.agent-theme .swiper-pagination-bullet-active {
    background: #B36B2A;
}

.search-box.being-dragged {
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

@media screen and (max-width: 768px) {
    .banner-card {
        height: 150px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

.price {
    text-align: right;
    width: 100%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.price span {
    color: #B36B2A;
    font-size: 1.6rem;
    font-weight: bold;
    order: 2;
}

.saudi-riyal-icon {
    width: 12px;
    height: auto;
    margin-right: 5px;
    order: 1;
}

.price::after {
    content: "";
    display: table;
    clear: both;
}

@media screen and (max-width: 768px) {
    .price {
        font-size: 1.4rem;
    }

    .saudi-riyal-icon {
        width: 10px !important;
        margin-right: 4px;
    }
}

@media screen and (max-width: 576px) {
    .saudi-riyal-icon {
        width: 8px !important;
        margin-right: 3px;
    }
}

@media screen and (max-width: 576px) {
    .banner-card {
        height: 150px;
    }
}

@media screen and (max-width: 768px) {
    .dark-theme .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dark-theme #singleTrip,
    .dark-theme #roundTrip,
    .dark-theme .trip-block {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .dark-theme .cars-grid {
        grid-template-columns: 1fr;
    }
}

.agent-theme {
    background-color: #1a1a1a;
    color: #ffffff;
}

.agent-theme .radio-option {
    color: #ffffff;
    font-size: 1.2rem;
}

.agent-theme .radio-option input[type="radio"]:checked + span {
    color: #B36B2A;
    font-weight: bold;
}

.agent-theme .search-box {
    background: #2d2d2d;
    border-color: #B36B2A;
    border-width: 3px;
    padding: 2rem;
}

.agent-theme .field-wrapper {
    background: #333333;
    border-color: #4a4a4a;
    border-width: 2px;
}

.agent-theme .field-wrapper select,
.agent-theme .field-wrapper input,
.agent-theme .field-wrapper .guests-display {
    color: #ffffff;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 500;
}

.agent-theme .car-card {
    background: #2d2d2d;
    border: 2px solid #4a4a4a;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.agent-theme .car-info h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.agent-theme .cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    width: 90%;
    max-width: 1300px;
}

.agent-theme .features {
    display: none;
}

.agent-theme .banner-card {
    height: 200px;
    width: 380px;
}

.agent-theme #singleTrip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.agent-theme #roundTrip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.agent-theme #hoursTrip {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media screen and (max-width: 768px) {
    .agent-theme .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agent-theme #singleTrip,
    .agent-theme #roundTrip,
    .agent-theme .trip-block {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .agent-theme .cars-grid {
        grid-template-columns: 1fr;
    }
}

header {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 4rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 120px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 30px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #B36B2A;
}

.logo img {
    height: 120px;
}

.auth-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#multiTrip {
    position: relative;
    z-index: 1000;
    background: white;
    margin-bottom: 50px;
}

.btn-login {
    border: 2px solid #B36B2A;
    color: #B36B2A;
}

.btn-register {
    background: #B36B2A;
    color: white;
    border: none;
}

.search-notification {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #B36B2A;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    direction: rtl;
}

.hero {
    position: relative;
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('../images/hero-background.png') center/cover;

}

.guests-popup {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 15px;
    margin-top: 10px;
    z-index: 1000;
    width: 280px;
    display: none;
}

.guests-wrapper {
    position: relative;
    cursor: pointer;
}

.guest-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 0;
    border-bottom: 2px solid #eee;
    font-size: 1rem;
}

.guest-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guest-btn {
    width: 35px;
    height: 35px;
    border: 2px solid #B36B2A;
    border-radius: 50%;
    background: white;
    color: #B36B2A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.guest-btn:hover {
    background: #B36B2A;
    color: white;
}

.guest-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.guest-count {
    min-width: 25px;
    text-align: center;
    font-size: 1.1rem;
}

.info-bar {
    display: none;
}
.info-bar .search-info {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.info-bar .search-info i {
    font-size: 25px;
}

.search-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-info i {
    font-size: 18px;
}

.search-container {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
}

@media screen and (max-width: 1366px) {
    .search-container {
        width: 90%;
        max-width: 800px;
    }
}

@media screen and (max-width: 768px) {
    .search-container {
        width: 95%;
    }
}

.search-box {
    background: white;
    border-radius: 30px;
    padding: 0.4rem;
    border: 3px solid #B36B2A;
    position: relative;
    z-index: 1000;
	margin-right: -85px; /* يزيح الصندوق إلى اليمين قليلاً */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 130%; /* جعل الصندوق أعرض */
    direction: rtl; /* المحاذاة من اليمين */
}

.transport-label {
    position: absolute;
    top: -20px;
    right: 20px;
    background: #B36B2A;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 1rem;
    z-index: 1;
    font-weight: 600;
}

.trip-options {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 10px 0;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: #333;
}

.radio-option input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
}

.radio-option input[type="radio"]:checked + span {
    color: #B36B2A;
    font-weight: bold;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.search-form.with-return {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.search-form.with-hours {
    display: flex;
    flex-direction: column;
}

#multiTrip {
    display: block;
}

.hours-row {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin: 1rem 0;
}

.hour-button {
    padding: 0.8rem 1.5rem;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    margin-top: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hour-button.active {
    background: #B36B2A;
    color: white;
    border-color: #B36B2A;
}

.add-trip-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 3px dashed #B36B2A;
    color: #B36B2A;
    border-radius: 12px;
    cursor: pointer;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    z-index: 1100;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-trip-btn:hover {
    background: rgba(179, 107, 42, 0.1);
}

.trip-blocks {
    position: relative;
    margin-bottom: 20px;
}

.trip-block {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.remove-trip {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 1100;
    transition: background 0.3s ease;
}

.remove-trip:hover {
    background: #ff0000;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.date-time-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-input {
    flex: 2;
}

.time-input {
    flex: 1;
    border: 2px solid #E0E0E0;
    background: white;
    padding: 0.8rem;
    border-radius: 10px;
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
}

.period-select {
    flex: 1;
    border: 2px solid #E0E0E0;
    background: white;
    padding: 0.8rem;
    border-radius: 10px;
    -webkit-appearance: none;
    appearance: none;
    color: #000;
    font-size: 1rem;
    cursor: pointer;
    display: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
}

select::-ms-expand {
    display: none;
}

.field-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    position: relative;
    background: white;
    transition: border-color 0.3s ease;
}

.field-wrapper:focus-within {
    border-color: #B36B2A;
}

.field-label {
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.field-wrapper::after {
    content: '▼';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    font-size: 1.1rem;
}

.field-wrapper select,
.field-wrapper input {
    width: 100%;
    border: none;
    background: none;
    padding: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #111;
}

.field-icon {
    width: 25px;
    height: 25px;
    margin-right: 1rem;
}

.bottom-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    margin-top: 1rem;
}

.search-btn {
    padding: 1rem 2.5rem;
    background: #B36B2A;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 700;
}

.search-btn:hover {
    background: #8B4513;
}

.search-btn:disabled {
    background: #8B4513;
    cursor: wait;
    opacity: 0.7;
}

.features {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
    margin-top: 100px;
}

.features h2 {
    text-align: right;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #FCB603;
    border-radius: 20px;
    background: white;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-content p {
    font-size: 1rem;
    color: #666;
}

.popular-cars {
    width: 90%;
    max-width: 1300px;
    margin: 2rem auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    transition: margin-top 0.1s ease;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    width: 90%;
    max-width: 1300px;
}

.popular-cars h2 {
    text-align: right;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
    font-weight: 700;
}

.car-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-info {
    padding: 1.5rem;
}

.car-info h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #333;
    font-weight: 700;
}

.stars {
    color: #FCB603;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.rent-btn {
    width: 100%;
    padding: 1rem;
    background: #B36B2A;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1.2rem;
    font-weight: 600;
}

.rent-btn:hover {
    background: #8B4513;
}

footer {
    background: black;
    color: white;
    padding: 2rem 4rem;
    margin-top: 100px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.newsletter {
    display: flex;
    gap: 1rem;
}

.newsletter input {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    width: 300px;
    font-size: 1rem;
}

.newsletter button {
    padding: 1rem 1.5rem;
    background: #FB573B;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.contact-info {
    display: flex;
    gap: 2rem;
    text-align: right;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #999;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #808080;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #B36B2A;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

@media (max-width: 768px) {
    .car-card {
        text-align: center;
    }

    .cars-grid {
        justify-items: center;
    }

    .datepicker {
        font-size: 14px;
        width: auto !important;
        max-width: 250px !important;
    }

    .datepicker-dropdown {
        width: 270px !important;
    }

    .datepicker table {
        width: 100%;
    }

    .datepicker td, .datepicker th {
        width: 30px;
        height: 30px;
    }
}

.custom-location-btn {
    margin-top: 10px;
    background-color: #E9D3C0;
    color: #B36B2A;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.custom-location-btn:hover {
    background-color: #B36B2A;
    color: white;
}

.map-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.map-container {
    width: 90%;
    max-width: 800px;
    height: 60vh;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-header {
    padding: 15px 20px;
    background-color: #B36B2A;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.map-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.map-close:hover {
    transform: scale(1.1);
}

.map-search {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 10;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.map-search input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

#map-area {
    width: 100%;
    height: calc(60vh - 55px);
}

.map-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: flex-end;
}

.map-confirm {
    background-color: #B36B2A;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.map-confirm:hover {
    background-color: #8B4513;
}

.pac-container {
    z-index: 10000;
    border-radius: 8px;
    margin-top: 5px;
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.loading-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-logo {
    width: 150px;
    height: auto;
    z-index: 1;
    animation: pulseSpin 2s ease-in-out infinite;
}

.orbiting-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 6px solid transparent;
    border-top-color: #B36B2A;
    border-right-color: #B36B2A;
    animation: orbit 1.5s linear infinite;
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseSpin {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

.loading-spinner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid transparent;
    border-top-color: #B36B2A;
    border-right-color: #B36B2A;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


   .info-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f4f4f4;
        color: #333;
        padding: 1rem 1.5rem;
        margin-top: 1rem;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        font-size: 1.1rem;
        direction: rtl;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .search-info {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .search-info i {
        color: #B36B2A;
        font-size: 1.3rem;
        margin-left: 0.5rem;
    }