:root {
    --surya-red: #73171F;
    --beef-jerky: #A65665;
    --ibis: #F2AEC1;
    --amphystine: #3F4159;
    --rustique: #F2BFB3;
    --white: #ffffff;
    --dark-text: #333;
    --light-text: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Default English Font Settings */
body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: linear-gradient(135deg, var(--rustique) 0%, var(--ibis) 100%);
    min-height: 100vh;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

.hero h1, .section-title, .product-name, .order-btn, .language-toggle, .form-main-title {
    font-family: 'Lobster', cursive;
}

.logo span {
    font-family: 'Lobster', cursive !important;
}

/* Arabic Font Settings */
[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .hero h1, 
[dir="rtl"] .section-title, 
[dir="rtl"] .product-name, 
[dir="rtl"] .order-btn, 
[dir="rtl"] .language-toggle,
[dir="rtl"] .form-main-title {
    font-family: 'El Messiri', sans-serif;
}

[dir="rtl"] {
    text-align: right;
}

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

/* Enhanced Mobile-First Header */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(63, 65, 89, 0.15);
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: bold;
    background: linear-gradient(45deg, var(--surya-red), var(--amphystine));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-image {
    max-height: clamp(40px, 8vw, 70px);
    width: auto;
}

.sleepy-panda-image {
    max-width: 200px;
    height: auto;
}

.language-toggle {
    background: linear-gradient(45deg, var(--beef-jerky), var(--surya-red));
    color: var(--white);
    border: none;
    padding: 0;
    width: clamp(90px, 20vw, 110px);
    height: clamp(36px, 8vw, 42px);
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    touch-action: manipulation;
}

.language-toggle:hover, .language-toggle:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile-Optimized Hero Section */
.hero {
    text-align: center;
    padding: clamp(1.5rem, 5vw, 3rem) 0;
    color: var(--amphystine);
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Mobile Products Section */
.products {
    padding: clamp(1.5rem, 5vw, 2rem) 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 0;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: clamp(2rem, 1vw, 3rem);
    background: linear-gradient(45deg, var(--surya-red), var(--amphystine));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    padding: 0 clamp(0.5rem, 2vw, 1rem);
    direction: ltr;
}

.product-card {
    background: linear-gradient(145deg, var(--white) 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: clamp(1.2rem, 4vw, 2rem);
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

.product-card:hover, .product-card:active {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: var(--rustique);
}

.product-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-name {
    font-size: clamp(1.2rem, 4vw, 1.7rem);
    font-weight: normal;
    margin-bottom: 0.8rem;
    color: var(--amphystine);
    line-height: 1.3;
}

.product-description {
    color: var(--light-text);
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.product-price {
    font-size: clamp(1.1rem, 3.5vw, 1.4rem);
    font-weight: bold;
    color: var(--beef-jerky);
    margin-bottom: 1.2rem;
}

.order-btn {
    background: linear-gradient(45deg, var(--beef-jerky), var(--surya-red));
    color: var(--white);
    border: none;
    padding: 0 20px;
    height: clamp(44px, 10vw, 50px);
    border-radius: 30px;
    cursor: pointer;
    font-weight: normal;
    font-size: clamp(1rem, 3vw, 1.2rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(166, 86, 101, 0.3);
    width: 100%;
    touch-action: manipulation;
    min-height: 44px;
}

.order-btn:hover, .order-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 86, 101, 0.4);
}

/* Mobile-Optimized Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 3;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px 10px;
}

.modal-content {
    position: relative;
    background: linear-gradient(145deg, var(--white) 0%, #f8f9ff 100%);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    margin: auto;
    border: 2px solid rgba(242, 191, 179, 0.1);
    min-height: auto;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--light-text);
    transition: color 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: var(--beef-jerky);
}

.form-main-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    color: var(--amphystine);
    font-weight: normal;
}

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

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--dark-text);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: clamp(10px, 3vw, 12px);
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    font-size: clamp(14px, 3.5vw, 16px);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Quicksand', sans-serif;
    min-height: 44px;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
    font-family: 'Cairo', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--beef-jerky);
    box-shadow: 0 0 0 3px rgba(166, 86, 101, 0.1);
    background: var(--white);
}

.order-summary {
    background: linear-gradient(45deg, var(--surya-red), var(--amphystine));
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.order-summary h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

[dir="rtl"] .order-summary h3 {
    font-family: 'Cairo', sans-serif;
}

.price-breakdown {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.total-price {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: bold;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.submit-btn {
    background: linear-gradient(45deg, var(--beef-jerky), var(--surya-red));
    color: var(--white);
    border: none;
    padding: 0 30px;
    height: clamp(48px, 10vw, 54px);
    border-radius: 30px;
    cursor: pointer;
    font-weight: normal;
    font-size: clamp(1.1rem, 3.5vw, 1.4rem);
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(166, 86, 101, 0.3);
    margin-top: 1rem;
    font-family: 'Lobster', cursive;
    touch-action: manipulation;
    min-height: 48px;
}

[dir="rtl"] .submit-btn {
    font-family: 'El Messiri', sans-serif;
}

.submit-btn:hover, .submit-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(166, 86, 101, 0.4);
}

.feedback-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: var(--white);
    animation: fadeInScale 0.4s ease-out;
    min-height: 120px;
}

.feedback-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1;
    margin-bottom: 1rem;
    animation: popIn 0.5s ease-out 0.2s both;
}

.feedback-message.success {
    background: linear-gradient(45deg, #147430, #4ae063);
    box-shadow: 0 8px 20px rgba(74, 224, 99, 0.4);
}

.feedback-message.failure {
    background: linear-gradient(45deg, #A65665, #c73333);
    box-shadow: 0 8px 20px rgba(166, 86, 101, 0.4);
}

/* Enhanced Footer */
footer {
    background: var(--amphystine);
    color: #e0e0e0;
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    margin-top: 2rem;
    border-top: 4px solid var(--surya-red);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.footer-copyright {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

.footer-contact {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

.footer-contact span {
    color: #a0a0a0;
    margin-right: 8px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    word-break: break-word;
}

.footer-contact a:hover {
    color: var(--rustique);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes popIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Enhanced Mobile Responsive */
@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1 / -1;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Touch-specific optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .order-btn:hover,
    .language-toggle:hover,
    .submit-btn:hover {
        transform: none;
    }
    
    .order-btn:active,
    .language-toggle:active,
    .submit-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2) {
    .logo-image,
    .product-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* RTL specific adjustments */
[dir="rtl"] .modal-content .close-btn {
    right: auto;
    left: 20px;
}

[dir="rtl"] .error-message {
    text-align: right;
}

.error-message {
    color: var(--beef-jerky);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    text-align: left;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus indicators for better accessibility */
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--beef-jerky);
    outline-offset: 2px;
}
/* Unavailable Products Styling */
.product-card.unavailable {
    opacity: 1;
    position: relative;
    pointer-events: none;
}

.product-card.unavailable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(0.5px);
    border-radius: 20px;
    z-index: 1;
}

.product-card.unavailable .product-image {
    filter: grayscale(100%);
    opacity: 0.5;
}

.product-card.unavailable .product-name,
.product-card.unavailable .product-description,
.product-card.unavailable .product-price {
    color: #999;
}

.order-btn.disabled {
    background: linear-gradient(45deg, #ccc, #999) !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    pointer-events: none;
}

.order-btn.disabled:hover,
.order-btn.disabled:active {
    transform: none !important;
    box-shadow: none !important;
}

/* Alternative styling - more subtle approach */
.product-card.unavailable.subtle {
    filter: saturate(0.3);
    transform: none !important;
}

.product-card.unavailable.subtle::before {
    display: none;
}

[dir="ltr"] .product-card.unavailable.subtle::after {
    content: 'Out of Stock';
    right: 10px;
    left: auto;
}

[dir="rtl"] .product-card.unavailable.subtle::after {
    right: auto;
    left: 10px;
}

/* Responsive adjustments for unavailable products */
@media (max-width: 768px) {
    .product-card.unavailable::after {
        font-size: 2.5rem;
    }
    
    .product-card.unavailable.subtle::after {
        font-size: 0.7rem;
        padding: 3px 8px;
        top: 8px;
        right: 8px;
    }
    
    [dir="rtl"] .product-card.unavailable.subtle::after {
        right: auto;
        left: 8px;
    }
}
.store-closed {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: clamp(2rem, 8vw, 4rem) 0; */
}

.message-box {
    background: linear-gradient(145deg, var(--white) 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: clamp(1rem, 6vw, 2rem);
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(242, 191, 179, 0.2);
    max-width: 600px;
    width: 100%;
    animation: fadeInScale 0.8s ease-out;
}

.message-box .icon {
    font-size: clamp(3rem, 10vw, 5rem);
    margin-bottom: 1rem;
    animation: popIn 0.6s ease-out 0.4s both;
}

.message-box h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-family: 'Lobster', cursive;
    color: var(--amphystine);
    margin-bottom: 0.8rem;
}

[dir="rtl"] .message-box h2 {
    font-family: 'El Messiri', sans-serif;
}

.message-box p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.message-box .timer {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--beef-jerky);
    font-weight: bold;
    background: rgba(242, 191, 179, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    display: inline-block;
}
.location-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px; /* Slightly smaller radius */
    padding: 12px; /* Reduced padding */
    margin-bottom: 1rem; /* Reduced margin */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Softer shadow */
}

.location-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px; /* Thinner accent line */
    background: linear-gradient(90deg, #16a085, #4dd0e1);
    border-radius: 12px 12px 0 0;
}

.location-info {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    color: #566573;
    text-align: center;
    margin: 0 0 4px 0; /* A tiny margin for spacing between the two lines */
    padding: 0 10px;
    line-height: 1.4; /* Improves readability */
}

.location-info-subtext {
    margin-bottom: 12px; /* This ONLY adds the larger margin below the second line */
}

.location-controls {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.location-btn,
.manual-location-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(8px, 2.5vw, 10px) clamp(12px, 3vw, 16px);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    touch-action: manipulation;
    white-space: nowrap;
}

.location-btn {
    background: #16a085;
    box-shadow: 0 4px 12px rgba(22, 160, 133, 0.25);
}

/* Orange Manual Location Button */
.manual-location-btn {
    background: #f39c12; /* Orange color */
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}


.location-btn:hover:not(:disabled) {
    background: #117a65;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 160, 133, 0.3);
}

.manual-location-btn:hover:not(:disabled) {
    background: #e67e22; /* Darker orange on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.35);
}


.location-btn:disabled,
.manual-location-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.location-icon {
    font-size: clamp(14px, 3vw, 16px);
}

.location-status {
    padding: clamp(8px, 2vw, 10px) clamp(12px, 3vw, 14px); /* Slightly more vertical padding for wrapped text */
    border-radius: 16px;
    font-size: clamp(0.75rem, 2vw, 0.8rem);
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.location-status.info {
    background-color: #eaf8ff;
    color: #3498db;
    border-color: #b8d9ff;
}

.location-status.success {
    background-color: #e6fffa;
    color: #16a085;
    border-color: #a3f3e2;
}

.location-status.error {
    background-color: #fff9e6;
    color: #f57c00;
    border-color: #ffeeba;
}

.location-status.validation-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.location-status.loading {
    background-color: #fff9e6;
    color: #f39c12;
    border-color: #ffeeba;
}

.location-status.loading::after {
    content: "";
    display: inline-block;
    width: 8px; /* Smaller spinner */
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: locationSpin 1s infinite linear;
    margin-left: 8px;
}

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

@media (max-width: 480px) {
    .location-btn {
        justify-content: center;
        width: 100%;
    }
    .location-status {
        text-align: center;
        justify-content: center;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .location-controls {
        justify-content: space-between;
    }
    .location-btn {
        flex: 0 0 auto;
    }
    .location-status {
        flex: 1;
        text-align: right;
        justify-content: flex-end;
    }
    [dir="rtl"] .location-status {
        text-align: left;
        justify-content: flex-start;
    }
}

@media (prefers-contrast: high) {
    .location-section {
        border-width: 2px;
        border-color: #000;
    }
    .location-btn,
    .location-status {
        border: 2px solid currentColor;
    }
}

@media (prefers-reduced-motion: reduce) {
    .location-btn {
        transition: none;
    }
    .location-btn:hover:not(:disabled) {
        transform: none;
    }
    .location-status.loading::after {
        animation: none;
    }
}

[dir="rtl"] .location-btn {
    font-family: 'El Messiri', 'Cairo', sans-serif;
}
.location-btn:focus-visible {
    outline: 2px solid #1abc9c;
    outline-offset: 2px;
}
.location-btn.manual-location-btn {
    background: #f39c12; /* Orange color */
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.location-btn.manual-location-btn:hover:not(:disabled) {
    background: #e67e22; /* Darker orange on hover */
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.35);
}

.location-btn.manual-location-btn:focus-visible {
    outline: 2px solid #f39c12;
    outline-offset: 2px;
}

.location-btn.manual-location-btn .location-icon {
    font-size: 1.1em;
}

/* Map Modal Styles (Corrected) */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    box-sizing: border-box;
}

.map-modal.show {
    opacity: 1;
}

.map-modal-content {
    background: white;
    padding: 20px;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.map-modal.show .map-modal-content {
    transform: scale(1);
}

.map-modal-content h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.map-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}
.map-close-btn:hover {
    color: #000;
}

.confirm-location-btn {
    width: 100%;
    padding: 12px 20px;
    background-color: #16a085;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.confirm-location-btn:hover {
    background-color: #117a65;
}