/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.modal-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 8px 32px rgba(5, 150, 105, 0.1),
                inset 0 1px 2px rgba(255, 255, 255, 0.8);
    max-width: 900px;
    width: 100%;
    height: 80vh;
    max-height: 650px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.modal-header {
    position: relative;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(5, 150, 105, 0.15);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px 24px 0 0;
    flex-shrink: 0;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #334155;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.modal-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
    padding-right: 3rem;
}



/* Modal Body */
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    overflow: hidden;
    flex: 1;
    align-items: start;
}

/* Product Image Section */
.modal-image-section {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal-main-image {
    width: 100%;
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(5, 150, 105, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
                inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Product Info Section */
.modal-info-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.modal-price-block {
    padding: 0.75rem 0.875rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(16, 185, 129, 0.08) 100%);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(5, 150, 105, 0.2);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08),
                inset 0 1px 2px rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.modal-price {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-info-card {
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(5, 150, 105, 0.15);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04),
                inset 0 1px 2px rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.modal-info-card h3 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.modal-info-card h3 svg {
    width: 15px;
    height: 15px;
    stroke: #059669;
}

.modal-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.modal-spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-spec-label {
    color: #64748b;
    font-weight: 500;
    font-size: 0.6875rem;
    line-height: 1;
}

.modal-spec-value {
    color: #0f172a;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.2;
}

.modal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.modal-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #334155;
    line-height: 1.3;
}

.modal-feature-item svg {
    width: 13px;
    height: 13px;
    stroke: #059669;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.modal-delivery-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-delivery-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-delivery-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-delivery-icon svg {
    width: 16px;
    height: 16px;
    stroke: #059669;
}

.modal-delivery-content h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.125rem;
    line-height: 1;
}

.modal-delivery-content p {
    font-size: 0.6875rem;
    color: #475569;
    line-height: 1.25;
}

/* Modal Footer */
.modal-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(5, 150, 105, 0.15);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 24px 24px;
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.modal-btn-order {
    flex: 1;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.modal-btn-order::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent 0%,
                rgba(255, 255, 255, 0.2) 50%,
                transparent 100%);
    transition: left 0.5s;
}

.modal-btn-order:hover::before {
    left: 100%;
}

.modal-btn-order:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.4),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.modal-btn-contact {
    flex: 1;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    color: #059669;
    padding: 0.875rem 1.5rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 1px solid rgba(5, 150, 105, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05),
                inset 0 1px 1px rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-btn-contact:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(5, 150, 105, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.modal-btn-contact svg {
    width: 20px;
    height: 20px;
}

/* Scrollbar Styling */
.modal-info-section::-webkit-scrollbar {
    width: 5px;
}

.modal-info-section::-webkit-scrollbar-track {
    background: transparent;
}

.modal-info-section::-webkit-scrollbar-thumb {
    background: rgba(5, 150, 105, 0.3);
    border-radius: 10px;
}

.modal-info-section::-webkit-scrollbar-thumb:hover {
    background: rgba(5, 150, 105, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem;
    }

    .modal-container {
        border-radius: 24px;
    }

    .modal-header {
        padding: 1.5rem;
        border-radius: 24px 24px 0 0;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .modal-main-image {
        height: 300px;
    }

    .modal-price {
        font-size: 2rem;
    }

    .modal-footer {
        padding: 1.5rem;
        flex-direction: column;
        border-radius: 0 0 24px 24px;
    }

    .modal-close {
        width: 36px;
        height: 36px;
    }
}

/* ================================
   Product Detail Modal with Colors
   ================================ */

.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal-container {
    background: white;
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.product-modal-overlay.active .product-modal-container {
    transform: scale(1) translateY(0);
}

.product-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-modal-close:hover {
    background: white;
    transform: rotate(90deg);
}

.product-modal-close svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 90vh;
    overflow: auto;
}

.product-modal-gallery {
    background: #f8f9fa;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-modal-main-image {
    width: 100%;
    max-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    position: relative;
}

.product-modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.product-modal-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-modal-badge.new {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.product-modal-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
    max-height: 90vh;
}

.product-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.product-modal-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.product-modal-price-block {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.product-modal-price {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-modal-quantity {
    font-size: 0.875rem;
    color: #64748b;
}

.product-modal-colors {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.25rem;
}

.product-modal-colors h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: #059669;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #059669;
}

.color-option::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform 0.2s ease;
}

.color-option.active::after {
    transform: translate(-50%, -50%) scale(1);
}

.selected-color-name {
    margin: 0.75rem 0 0 0;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.product-modal-features {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.25rem;
}

.product-modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-modal-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #334155;
}

.product-modal-features li svg {
    color: #059669;
    flex-shrink: 0;
}

.product-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.btn-whatsapp-order {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-call-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    color: #059669;
    border: 2px solid #059669;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-call-order:hover {
    background: #059669;
    color: white;
}

@media (max-width: 768px) {
    .product-modal-content {
        grid-template-columns: 1fr;
    }
    
    .product-modal-gallery {
        padding: 1.5rem;
    }
    
    .product-modal-info {
        padding: 1.5rem;
    }
    
    .product-modal-title {
        font-size: 1.5rem;
    }
    
    .product-modal-price {
        font-size: 1.75rem;
    }
    
    .product-modal-actions {
        flex-direction: column;
    }
}

/* ============================================
   CITY SELECT MODAL
   ============================================ */

/* City Selector Button in Header */
.city-selector {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(13,148,136,0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    max-width: 180px;
}

.city-selector #selectedCityName {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.city-selector:hover {
    background: linear-gradient(135deg, rgba(13,148,136,0.1) 0%, rgba(20,184,166,0.15) 100%);
    border-color: rgba(13,148,136,0.3);
}

.city-selector svg:first-child {
    width: 16px;
    height: 16px;
    stroke: #0d9488;
}

.city-selector .city-arrow {
    width: 14px;
    height: 14px;
    stroke: #64748b;
    transition: transform 0.3s ease;
}

.city-selector:hover .city-arrow {
    transform: translateY(2px);
}

/* City Modal Overlay */
.city-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.city-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* City Modal */
.city-modal {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.15),
        0 10px 40px rgba(13,148,136,0.1),
        inset 0 1px 0 rgba(255,255,255,0.9);
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.city-modal-overlay.active .city-modal {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.city-modal-header {
    text-align: center;
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(13,148,136,0.08) 0%, transparent 100%);
}

.city-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(13,148,136,0.3);
}

.city-modal-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.city-modal-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.city-modal-header p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Modal Body */
.city-modal-body {
    padding: 0 1.5rem 1.5rem;
}

/* Detected City */
.city-detected {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(13,148,136,0.1) 0%, rgba(20,184,166,0.15) 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(13,148,136,0.2);
}

.city-detected-label {
    font-size: 0.85rem;
    color: #64748b;
}

.city-detected-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0d9488;
}

/* City List */
.city-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}

.city-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.75rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.9) 100%);
    border: 2px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.city-option:hover {
    background: linear-gradient(135deg, rgba(13,148,136,0.08) 0%, rgba(20,184,166,0.12) 100%);
    border-color: rgba(13,148,136,0.3);
    transform: translateY(-2px);
}

.city-option.selected {
    background: linear-gradient(135deg, rgba(13,148,136,0.15) 0%, rgba(20,184,166,0.2) 100%);
    border-color: #0d9488;
    box-shadow: 0 4px 16px rgba(13,148,136,0.2);
}

.city-option .city-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.city-option .city-info {
    font-size: 0.7rem;
    color: #64748b;
}

.city-option.selected .city-name {
    color: #0d9488;
}

/* Modal Footer */
.city-modal-footer {
    padding: 0 1.5rem 1.5rem;
}

.city-confirm-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(13,148,136,0.3);
}

.city-confirm-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13,148,136,0.4);
}

.city-confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.city-confirm-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .city-modal {
        border-radius: 20px;
        margin: 0.5rem;
    }
    
    .city-modal-header {
        padding: 1.5rem 1.25rem 1rem;
    }
    
    .city-modal-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }
    
    .city-modal-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .city-modal-header h3 {
        font-size: 1.15rem;
    }
    
    .city-modal-header p {
        font-size: 0.8rem;
    }
    
    .city-modal-body {
        padding: 0 1rem 1rem;
    }
    
    .city-list {
        gap: 0.5rem;
    }
    
    .city-option {
        padding: 0.875rem 0.5rem;
        border-radius: 12px;
    }
    
    .city-option .city-name {
        font-size: 0.85rem;
    }
    
    .city-modal-footer {
        padding: 0 1rem 1rem;
    }
    
    .city-confirm-btn {
        padding: 0.875rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .city-selector {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
        border-radius: 8px;
    }
    
    .city-selector svg:first-child {
        width: 14px;
        height: 14px;
    }
    
    .city-selector .city-arrow {
        display: none;
    }
}

/* City Search */
.city-search-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.city-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: #64748b;
    pointer-events: none;
}

.city-search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: rgba(255,255,255,0.8);
    border: 2px solid rgba(13,148,136,0.15);
    border-radius: 12px;
    font-size: 0.95rem;
    color: #0f172a;
    transition: all 0.3s ease;
}

.city-search-input:focus {
    outline: none;
    border-color: #0d9488;
    background: white;
    box-shadow: 0 0 0 4px rgba(13,148,136,0.1);
}

.city-search-input::placeholder {
    color: #94a3b8;
}

/* Scrollable City List */
.city-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.city-list::-webkit-scrollbar {
    width: 6px;
}

.city-list::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 3px;
}

.city-list::-webkit-scrollbar-thumb {
    background: rgba(13,148,136,0.3);
    border-radius: 3px;
}

.city-list::-webkit-scrollbar-thumb:hover {
    background: rgba(13,148,136,0.5);
}

.city-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
    color: #64748b;
    font-size: 0.95rem;
}

/* Mobile City Selector in Burger Menu */
.mobile-city-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(13,148,136,0.15) 0%, rgba(20,184,166,0.2) 100%);
    border: 1px solid rgba(13,148,136,0.3);
    border-radius: 14px;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.mobile-city-selector:hover {
    background: linear-gradient(135deg, rgba(13,148,136,0.25) 0%, rgba(20,184,166,0.3) 100%);
    border-color: rgba(13,148,136,0.5);
}

.mobile-city-selector svg:first-child {
    width: 20px;
    height: 20px;
    stroke: #0d9488;
}

.mobile-city-selector .city-arrow {
    width: 16px;
    height: 16px;
    stroke: #475569;
    margin-left: auto;
}

/* Hide desktop city selector on mobile */
@media (max-width: 768px) {
    .header .city-selector {
        display: none;
    }
}

/* ============================================
   BETA NOTIFICATION
   ============================================ */
.beta-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%) scale(0.9);
    z-index: 10000;
    width: calc(100% - 2rem);
    max-width: 480px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.beta-notification.show {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.beta-notification.hiding {
    transform: translateX(-50%) translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.beta-notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.beta-notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.beta-notification-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.beta-notification-text {
    flex: 1;
    min-width: 0;
}

.beta-notification-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.beta-notification-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.beta-notification-text p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.beta-notification-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.beta-notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.beta-notification-close svg {
    width: 16px;
    height: 16px;
    stroke: #64748b;
}

.beta-notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    border-radius: 0 0 20px 20px;
    animation: betaProgress 7s linear forwards;
}

@keyframes betaProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .beta-notification {
        bottom: 1rem;
        width: calc(100% - 1.5rem);
        border-radius: 16px;
    }
    
    .beta-notification-content {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .beta-notification-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    
    .beta-notification-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .beta-notification-text h4 {
        font-size: 0.9rem;
    }
    
    .beta-notification-text p {
        font-size: 0.8rem;
    }
}
