
:root {
    --neon-green: #00ff99;
    --neon-green-dark: #00cc77;
    --neon-green-light: #33ffaa;
    --matrix-green: #00ff41;
    --dark-bg: #000000;
    --darker-bg: #0a0a0a;
    --grid-color: #001100;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #333333;
    --shadow-neon: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green), 0 0 30px var(--neon-green);
    --shadow-soft: 0 0 5px rgba(0, 255, 153, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    position: relative;
}

#rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    background: 
        linear-gradient(90deg, transparent 98%, var(--matrix-green) 100%),
        linear-gradient(0deg, transparent 98%, var(--matrix-green) 100%);
    background-size: 50px 50px;
    animation: matrix-flicker 2s infinite alternate;
}

@keyframes matrix-flicker {
    0% { opacity: 0.1; }
    100% { opacity: 0.05; }
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
}

.loading-logo {
    height: 180px;
    width: auto;
    filter: drop-shadow(0 0 25px var(--neon-green));
    margin-bottom: 2rem;
    animation: logoPulse 2s ease-in-out infinite alternate;
}

@keyframes logoPulse {
    0% {
        filter: drop-shadow(0 0 25px var(--neon-green));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 35px var(--neon-green)) drop-shadow(0 0 50px var(--neon-green));
    transform: scale(1.05);
    }
}

.loading-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: textFlicker 1.5s ease-in-out infinite alternate;
}

@keyframes textFlicker {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(0, 255, 153, 0.2);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 1px solid var(--neon-green);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), #00cc77);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-green);
}

.loading-percentage {
    font-size: 1rem;
    font-weight: bold;
    color: var(--neon-green);
}

.header {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    border-bottom: 1px solid var(--neon-green);
    box-shadow: 0 4px 20px rgba(0, 255, 153, 0.15);
    z-index: 1000;
    position: relative;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-input {
    width: 100%;
    padding: 0.6rem 2rem 0.6rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--neon-green);
    border-radius: 20px;
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.3);
    background: rgba(0, 0, 0, 0.8);
}

.search-input::placeholder {
    color: rgba(0, 255, 153, 0.5);
}

.search-clear {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--neon-green);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.search-clear:hover {
    background: rgba(0, 255, 153, 0.1);
    opacity: 1;
}

.filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn, .add-btn {
    padding: 0.5rem 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--neon-green);
    border-radius: 15px;
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.filter-btn:hover, .add-btn:hover {
    background: var(--neon-green);
    color: #000;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--neon-green);
    color: #000;
}

.product-select {
    padding: 0.5rem 1.5rem 0.5rem 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--neon-green);
    border-radius: 15px;
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    min-width: 120px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 0.8rem;
}

.product-select:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(0, 255, 153, 0.3);
}

.product-select option {
    background: #000;
    color: var(--neon-green);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn, .add-btn, .product-filter {
    padding: 0.5rem 1rem;
    background: var(--darker-bg);
    border: 2px solid var(--neon-green);
    border-radius: 20px;
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-soft);
}

.product-filter {
    min-width: 120px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
    padding-right: 2rem;
}

.product-filter option {
    background: var(--darker-bg);
    color: var(--neon-green);
}

.filter-btn:hover, .add-btn:hover, .product-filter:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

.product-filter:focus {
    outline: none;
    box-shadow: var(--shadow-neon);
    border-color: var(--neon-green-light);
}

.filter-btn.active {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: var(--shadow-neon);
}

.add-btn {
    background: var(--neon-green);
    color: var(--dark-bg);
    font-weight: bold;
}

.add-btn:hover {
    background: var(--neon-green-light);
    transform: translateY(-2px);
}

.icon {
    font-size: 1rem;
}

.map-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: var(--darker-bg);
}

#map-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

.matrix-tiles {
    filter: hue-rotate(120deg) saturate(1.5) contrast(1.2) brightness(0.8);
}

.leaflet-container {
    background: #000 !important;
    font-family: 'Share Tech Mono', monospace !important;
}

.leaflet-control-zoom a {
    background: #00ff99 !important;
    color: #000 !important;
    border: 1px solid #00ff99 !important;
    font-weight: bold !important;
}

.leaflet-control-zoom a:hover {
    background: #00cc77 !important;
}

.leaflet-popup-content-wrapper {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid #00ff99 !important;
    border-radius: 5px !important;
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.3) !important;
}

.leaflet-popup-content {
    color: #00ff99 !important;
    font-family: 'Share Tech Mono', monospace !important;
    margin: 15px !important;
}

.leaflet-popup-tip {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid #00ff99 !important;
}

.leaflet-popup-close-button {
    color: #00ff99 !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

.leaflet-popup-close-button:hover {
    color: #00cc77 !important;
}

.matrix-popup-content {
    color: #00ff99;
    font-family: 'Share Tech Mono', monospace;
}

.matrix-popup-content .seller-name {
    color: #00ff99;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
}

.matrix-popup-content .location-info {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 13px;
    opacity: 0.8;
}

.matrix-popup-content .registration-status {
    color: #00ff99;
    font-size: 12px;
    margin: 5px 0;
    padding: 4px 8px;
    background: rgba(0, 255, 153, 0.1);
    border-radius: 4px;
    border: 1px solid #00ff99;
}

.matrix-popup-content .delivery-status {
    margin: 5px 0;
    font-size: 14px;
}

.matrix-popup-content .socials {
    margin: 10px 0;
}

.matrix-popup-content .social-item {
    margin: 3px 0;
    font-size: 12px;
}

.matrix-popup-content .products {
    margin: 10px 0;
}

.matrix-popup-content .products h4 {
    color: #00ff99;
    margin: 0 0 5px 0;
    font-size: 14px;
}

.matrix-popup-content .product-item {
    margin: 3px 0;
    font-size: 12px;
}

.matrix-marker {
    filter: drop-shadow(0 0 5px rgba(0, 255, 153, 0.5));
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.3);
}

.matrix-svg-marker {
    background: transparent !important;
    border: none !important;
}

.matrix-svg-marker svg {
    transition: all 0.3s ease;
}

.matrix-svg-marker:hover svg {
    transform: scale(1.1);
}

.matrix-glow {
    filter: blur(3px);
}

.matrix-cluster-container {
    background: transparent !important;
    border: none !important;
}

.matrix-cluster-marker {
    cursor: pointer;
    transition: all 0.3s ease;
}

.matrix-cluster-marker:hover {
    background: #00cc77 !important;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 255, 153, 0.8)) !important;
}

.marker-cluster {
    background: transparent !important;
    border: none !important;
}

.marker-cluster div {
    background: transparent !important;
    border: none !important;
    color: transparent !important;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #00ff99, #00cc77);
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 255, 153, 0.3);
    animation: verificationGlow 2s ease-in-out infinite alternate;
}

.verification-badge::before {
    content: "✓";
    margin-right: 0.25rem;
    font-weight: 900;
}

@keyframes verificationGlow {
    from {
        box-shadow: 0 2px 8px rgba(0, 255, 153, 0.3);
    }
    to {
        box-shadow: 0 2px 15px rgba(0, 255, 153, 0.6);
    }
}

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.star {
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.star.filled {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.star:hover {
    transform: scale(1.1);
}

.star-rating.readonly .star {
    cursor: default;
}

.star-rating.readonly .star:hover {
    transform: none;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.rating-average {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00ff99;
}

.rating-count {
    font-size: 0.9rem;
    color: #888;
}

.reviews-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.review-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.review-item:hover {
    border-color: #00ff99;
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-rating {
    display: flex;
    gap: 0.1rem;
}

.review-date {
    font-size: 0.8rem;
    color: #888;
}

.review-comment {
    color: #ccc;
    line-height: 1.4;
    font-size: 0.9rem;
}

.review-anonymous {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

.add-review-form {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.add-review-form h4 {
    color: #00ff99;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.review-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ff99;
    font-weight: 700;
    font-size: 0.9rem;
}

.review-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 6px;
    color: #00ff99;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
}

.review-form-group textarea:focus {
    outline: none;
    border-color: #00ff99;
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.3);
}

.review-form-group textarea::placeholder {
    color: #666;
}

.review-submit-btn {
    background: linear-gradient(45deg, #00ff99, #00cc77);
    border: none;
    border-radius: 6px;
    color: #000;
    padding: 0.75rem 1.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 153, 0.4);
}

.review-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.fullscreen-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fullscreen-popup.show {
    opacity: 1;
    visibility: visible;
}

.fullscreen-popup-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.fullscreen-popup.show .fullscreen-popup-content {
    transform: translateX(0);
}

@media (min-width: 769px) {
    .fullscreen-popup {
        justify-content: flex-end;
    }
    
    .fullscreen-popup-content {
        width: 500px;
        max-width: 50vw;
        height: 100vh;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 768px) {
    .fullscreen-popup {
        justify-content: center;
    }
    
    .fullscreen-popup-content {
        width: 100%;
        height: 100%;
        transform: translateY(100%);
    }
    
    .fullscreen-popup.show .fullscreen-popup-content {
        transform: translateY(0);
    }
}

.fullscreen-popup-header {
    background: linear-gradient(135deg, #00ff99 0%, #00cc7a 100%);
    color: #000000;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #00ff99;
    position: sticky;
    top: 0;
    z-index: 10001;
    gap: 1rem;
}

.fullscreen-popup-header .seller-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fullscreen-popup-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
}

.fullscreen-popup-header .verification-badge {
    background: rgba(0, 0, 0, 0.15);
    color: #000000;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.fullscreen-popup-header .close-btn {
    background: rgba(0, 0, 0, 0.2);
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.fullscreen-popup-header .close-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.fullscreen-popup-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.seller-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 153, 0.1);
    border: 1px solid rgba(0, 255, 153, 0.2);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.seller-location .location-icon {
    font-size: 1.2rem;
}

.rating-section {
    background: rgba(0, 255, 153, 0.08);
    border: 1px solid rgba(0, 255, 153, 0.2);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    font-size: 1.2rem;
    color: #ffd700;
}

.rating-stars .star {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s ease;
}

.rating-stars .star.filled {
    color: #ffd700;
}

.rating-stars .star.half {
    background: linear-gradient(90deg, #ffd700 50%, rgba(255, 255, 255, 0.3) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.rating-score {
    font-size: 0.9rem;
    font-weight: 700;
    color: #00ff99;
}

.rating-count {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.delivery-section {
    background: rgba(0, 255, 153, 0.05);
    border: 1px solid rgba(0, 255, 153, 0.15);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

.delivery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.delivery-status {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.delivery-price {
    display: flex;
    align-items: center;
}

.delivery-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(0, 255, 153, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 153, 0.2);
}

.delivery-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.delivery-price-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: #00ff99;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.delivery-cities {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 2rem;
    font-weight: 500;
    line-height: 1.4;
}

.products-section {
    background: rgba(0, 255, 153, 0.05);
    border: 1px solid rgba(0, 255, 153, 0.15);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    overflow: hidden;
}

.section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #00ff99;
    margin: 0 0 0.4rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    width: 100%;
    box-sizing: border-box;
}

.product-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 153, 0.1);
    border-radius: 4px;
    padding: 0.25rem 0.3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    min-height: 32px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.product-item:hover {
    background: rgba(0, 255, 153, 0.1);
    border-color: rgba(0, 255, 153, 0.3);
    transform: translateY(-2px);
}

.product-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff !important;
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-price {
    font-size: 0.6rem;
    font-weight: 700;
    color: #00ff99;
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.contact-section {
    background: rgba(0, 255, 153, 0.05);
    border: 1px solid rgba(0, 255, 153, 0.15);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 153, 0.1);
    border-radius: 6px;
    padding: 0.5rem 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: all;
}

.contact-item:hover {
    background: rgba(0, 255, 153, 0.1);
    border-color: rgba(0, 255, 153, 0.3);
    transform: translateY(-2px);
}

.contact-item:active {
    background: rgba(0, 255, 153, 0.2);
    transform: scale(0.98);
}

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

.contact-icon {
    font-size: 1rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #00ff99;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

.copy-indicator {
    font-size: 0.8rem;
    color: #00ff99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item.copied .copy-indicator {
    opacity: 1;
}

.review-section {
    background: rgba(0, 255, 153, 0.05);
    border: 1px solid rgba(0, 255, 153, 0.15);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.rating-input {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.rating-input label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.star-rating-input {
    display: flex;
    gap: 0.1rem;
}

.star-rating-input .star {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    pointer-events: auto;
    display: inline-block;
    position: relative;
    z-index: 10;
}

.star-rating-input .star:hover,
.star-rating-input .star.active {
    color: #ffd700;
    transform: scale(1.1);
}

.review-text-input {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.review-text-input label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.review-text-input textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 153, 0.2);
    border-radius: 6px;
    padding: 0.5rem;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    resize: vertical;
    min-height: 60px;
}

.review-text-input textarea:focus {
    outline: none;
    border-color: #00ff99;
    box-shadow: 0 0 0 2px rgba(0, 255, 153, 0.2);
}

.review-text-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-review-btn {
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1rem;
    color: #000;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 153, 0.4);
}

.submit-review-btn:active {
    transform: translateY(0);
}

.submit-review-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.submit-review-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.review-text-input textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.1);
}

.star-rating-input .star:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .review-section {
        padding: 0.5rem 0.6rem;
    }
    
    .review-form {
        gap: 0.5rem;
    }
    
    .rating-input label,
    .review-text-input label {
        font-size: 0.8rem;
    }
    
    .star-rating-input .star {
        font-size: 1.3rem;
    }
    
    .review-text-input textarea {
        font-size: 0.8rem;
        min-height: 50px;
    }
    
    .submit-review-btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
}

.modern-popup {
    max-width: 420px;
    min-width: 380px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 255, 153, 0.4);
    border: 2px solid #00ff99;
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-family: 'Orbitron', monospace;
}

.seller-popup {
    max-width: 400px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 153, 0.2);
}

.modern-popup .popup-header {
    background: linear-gradient(135deg, #00ff99 0%, #00cc7a 100%);
    color: #000000;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid #00ff99;
}

.modern-popup .seller-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.modern-popup .seller-name {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    text-shadow: none;
    flex: 1;
}

.modern-popup .verification-badge {
    background: rgba(0, 0, 0, 0.15);
    color: #000000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.modern-popup .location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    width: fit-content;
}

.modern-popup .location-icon {
    font-size: 0.9rem;
}

.modern-popup .location-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #000000;
}

.modern-popup .popup-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modern-popup .rating-summary {
    background: rgba(0, 255, 153, 0.08);
    border: 1px solid rgba(0, 255, 153, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modern-popup .rating-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modern-popup .rating-stars {
    font-size: 1.2rem;
    color: #ffd700;
}

.modern-popup .rating-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00ff99;
}

.modern-popup .rating-count {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.modern-popup .delivery-section {
    background: rgba(0, 255, 153, 0.05);
    border: 1px solid rgba(0, 255, 153, 0.15);
    border-radius: 10px;
    padding: 0.75rem;
}

.modern-popup .delivery-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.modern-popup .delivery-icon {
    font-size: 1rem;
}

.modern-popup .delivery-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00ff99;
}

.modern-popup .delivery-cities {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 1.5rem;
}

.modern-popup .products-section {
    background: rgba(0, 255, 153, 0.05);
    border: 1px solid rgba(0, 255, 153, 0.15);
    border-radius: 10px;
    padding: 1rem;
}

.modern-popup .section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #00ff99;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-popup .products-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
}

.modern-popup .product-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 153, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.modern-popup .product-item:hover {
    background: rgba(0, 255, 153, 0.1);
    border-color: rgba(0, 255, 153, 0.3);
    transform: translateY(-1px);
}

.modern-popup .product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-popup .product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.modern-popup .product-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #00ff99;
}

.modern-popup .contact-section {
    margin-top: 0.5rem;
}

.modern-popup .contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modern-popup .contact-btn {
    background: linear-gradient(135deg, #00ff99 0%, #00cc7a 100%);
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.modern-popup .contact-btn:hover {
    background: linear-gradient(135deg, #00cc7a 0%, #00ff99 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 153, 0.4);
}

.modern-popup .contact-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.modern-popup .contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popup-header {
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    color: #000;
    padding: 1.5rem;
    position: relative;
}

.seller-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.seller-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.verification-badge {
    background: rgba(0, 0, 0, 0.2);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.location-icon {
    font-size: 1rem;
}

.popup-content {
    padding: 1.5rem;
    color: #fff;
}

.rating-card {
    background: rgba(0, 255, 153, 0.1);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
}

.rating-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: #00ff99;
}

.rating-count {
    font-size: 0.8rem;
    color: #888;
}

.delivery-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.delivery-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 153, 0.2);
    border-radius: 50%;
}

.delivery-text {
    flex: 1;
    font-weight: 600;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00ff99;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-section {
    margin-bottom: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    background: rgba(0, 255, 153, 0.1);
    border-color: rgba(0, 255, 153, 0.3);
    transform: translateY(-2px);
}

.product-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.product-price {
    font-size: 0.8rem;
    color: #00ff99;
    font-weight: 700;
}

.contact-section {
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-btn {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 120px;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 153, 0.3);
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-text {
    font-size: 0.9rem;
    text-transform: capitalize;
}

.reviews-section {
    margin-bottom: 1.5rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-stars {
    display: flex;
    gap: 0.1rem;
}

.review-date {
    font-size: 0.8rem;
    color: #888;
}

.review-text {
    color: #ccc;
    line-height: 1.4;
    font-size: 0.9rem;
}

.review-form-section {
    background: rgba(0, 255, 153, 0.05);
    border: 1px solid rgba(0, 255, 153, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.rating-input {
    margin-bottom: 1rem;
}

.rating-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ff99;
    font-weight: 600;
    font-size: 0.9rem;
}

.comment-input {
    margin-bottom: 1rem;
}

.comment-input textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
}

.comment-input textarea:focus {
    outline: none;
    border-color: #00ff99;
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.3);
}

.comment-input textarea::placeholder {
    color: #666;
}

.submit-review-btn {
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    border: none;
    border-radius: 8px;
    color: #000;
    padding: 0.75rem 1.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 153, 0.4);
}

.verification-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.verification-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verification-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #00ff99;
}

.verification-date {
    font-size: 0.8rem;
    color: #888;
}

.verification-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    border: none;
    border-radius: 6px;
    color: #fff;
    padding: 0.5rem 1rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.verification-btn.verified {
    background: linear-gradient(45deg, #00ff99, #00cc77);
    color: #000;
}

.verification-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.verification-btn.verified:hover {
    box-shadow: 0 5px 15px rgba(0, 255, 153, 0.4);
}

.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 20, 0, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 153, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.logo-img {
    width: 160px;
    height: 160px;
    border-radius: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-img:hover {
    transform: scale(1.05);
}

.search-section {
    flex: 1;
    max-width: 800px;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 9999999999;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 153, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input-group:focus-within {
    border-color: #00ff99;
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
    transform: translateY(-2px);
}

.search-icon {
    color: #00ff99;
    margin-right: 0.75rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.search-input-group:focus-within .search-icon {
    opacity: 1;
    transform: scale(1.1);
}

.modern-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

.modern-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.search-clear-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear-btn:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    transform: scale(1.1);
}

.quick-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quick-filter-btn,
.advanced-search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 255, 153, 0.1);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    color: #00ff99;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.quick-filter-btn:hover,
.advanced-search-btn:hover {
    background: rgba(0, 255, 153, 0.2);
    border-color: #00ff99;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 153, 0.3);
}

.quick-filter-btn svg,
.quick-filter-btn span,
.advanced-search-btn svg,
.advanced-search-btn span {
    pointer-events: none;
    user-select: none;
}

.quick-filter-btn.active,
.advanced-search-btn.active {
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    color: #000;
    border-color: #00ff99;
    box-shadow: 0 4px 15px rgba(0, 255, 153, 0.4);
}

.advanced-search-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.advanced-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 255, 153, 0.1);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    color: #00ff99;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
    justify-content: space-between;
}

.dropdown-trigger:hover {
    background: rgba(0, 255, 153, 0.2);
    border-color: #00ff99;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 153, 0.3);
}

.dropdown-trigger.active {
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    color: #000;
    border-color: #00ff99;
    box-shadow: 0 4px 15px rgba(0, 255, 153, 0.4);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(0, 255, 153, 0.1);
    color: #00ff99;
}

.dropdown-item.selected {
    background: rgba(0, 255, 153, 0.2);
    color: #00ff99;
    font-weight: 700;
}

.user-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 255, 153, 0.1);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 12px;
    color: #00ff99;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: rgba(0, 255, 153, 0.2);
    border-color: #00ff99;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 255, 153, 0.3);
}

.advanced-search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 255, 153, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.advanced-search-panel:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.advanced-search-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.search-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 255, 153, 0.05);
    border: 1px solid rgba(0, 255, 153, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    min-width: 0;
    overflow: hidden;
}

.filter-group:hover {
    background: rgba(0, 255, 153, 0.08);
    border-color: rgba(0, 255, 153, 0.2);
    transform: translateY(-2px);
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #00ff99;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    width: 100%;
}

.price-input {
    flex: 1;
    min-width: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 153, 0.2);
    border-radius: 12px;
    color: #00ff99;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.price-input:focus {
    outline: none;
    border-color: #00ff99;
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

.price-input::placeholder {
    color: rgba(0, 255, 153, 0.5);
}

.price-separator,
.price-currency {
    color: #00ff99;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.filter-select {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 153, 0.2);
    border-radius: 12px;
    color: #00ff99;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #00ff99;
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

.filter-select option {
    background: #000;
    color: #00ff99;
    padding: 0.5rem;
}

.rating-filter-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.rating-slider {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-slider:hover {
    background: rgba(255, 255, 255, 0.15);
}

.rating-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.6);
    transition: all 0.3s ease;
    border: 3px solid rgba(0, 0, 0, 0.8);
}

.rating-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 30px rgba(0, 255, 153, 0.8);
}

.rating-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.6);
}

.rating-display {
    color: #00ff99;
    font-weight: 700;
    min-width: 140px;
    text-align: right;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.5);
}

.checkbox-group {
    justify-content: center;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
    justify-content: center;
}

.checkbox-label:hover {
    background: rgba(0, 255, 153, 0.1);
    border-color: rgba(0, 255, 153, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 153, 0.2);
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 255, 153, 0.5);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.checkbox-input:checked + .checkbox-custom {
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    border-color: #00ff99;
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.5);
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 153, 0.2);
}

.apply-btn,
.clear-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.apply-btn {
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 153, 0.3);
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 153, 0.5);
}

.apply-btn:active {
    transform: translateY(-1px);
}

.clear-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    z-index: 9999999999;
}

.search-section {
    position: relative;
    z-index: 9999999999;
}

.search-suggestions {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 999999999;
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-item:hover {
    background: rgba(0, 255, 153, 0.1);
    color: #00ff99;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.suggestion-text {
    flex: 1;
}

.suggestion-type {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.advanced-search-toggle {
    margin-top: 0.5rem;
    text-align: center;
}

.advanced-search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 0.5rem;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.advanced-search-panel.hidden {
    display: none;
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    color: #00ff99;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-range input {
    flex: 1;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 4px;
    color: #00ff99;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
}

.price-range input:focus {
    outline: none;
    border-color: #00ff99;
    box-shadow: 0 0 5px rgba(0, 255, 153, 0.3);
}

.price-range span {
    color: #888;
    font-weight: 600;
}

.filter-group select {
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 4px;
    color: #00ff99;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
}

.filter-group select:focus {
    outline: none;
    border-color: #00ff99;
    box-shadow: 0 0 5px rgba(0, 255, 153, 0.3);
}

.rating-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-filter input[type="range"] {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.rating-filter input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #00ff99;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.5);
}

.rating-filter input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #00ff99;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.5);
}

#rating-display {
    color: #00ff99;
    font-weight: 700;
    min-width: 100px;
    text-align: right;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00ff99;
}

.search-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 153, 0.2);
}

.apply-filters-btn,
.clear-filters-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apply-filters-btn {
    background: linear-gradient(135deg, #00ff99 0%, #00cc77 100%);
    color: #000;
}

.apply-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 153, 0.4);
}

.clear-filters-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.clear-filters-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modern-header {
        padding: 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    
    
    .search-section {
        order: 2;
        width: 100%;
        max-width: none;
    }
    
    .search-container {
        gap: 0.75rem;
    }
    
    .search-input-group {
        padding: 0.5rem 0.75rem;
    }
    
    .modern-search-input {
        font-size: 16px;    }
    
    .quick-filters {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .quick-filter-btn,
    .advanced-search-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .quick-filter-btn span {
        display: none;    }
    
    .advanced-search-btn {
        display: none;    }
    
    .custom-dropdown {
        display: none;    }
    
    .advanced-search-panel {
        display: none !important;    }
    
    .user-actions {
        order: 3;
        align-self: center;
        gap: 0.5rem;
    }
    
    .action-btn {
        width: 40px;
        height: 40px;
    }
    
    .advanced-search-content {
        padding: 1.5rem 1rem;
    }
    
    .search-filters-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .filter-group {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .filter-label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .price-range-inputs {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
    }
    
    .price-input {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .filter-select {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .rating-filter-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rating-display {
        text-align: center;
        min-width: auto;
        font-size: 1rem;
    }
    
    .checkbox-label {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-actions {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
    }
    
    .apply-btn,
    .clear-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem;
    }
    
    .logo-img {
        width: 128px;
        height: 128px;
    }
    
    
    .search-input-group {
        padding: 0.5rem;
    }
    
    .quick-filter-btn,
    .advanced-search-btn {
        padding: 0.4rem 0.6rem;
        min-width: 44px;    }
    
    .action-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .header-content {
        padding: 0.5rem 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-image {
        height: 35px;
        width: auto;
    }
    
    .main-controls {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-container {
        width: 100%;
        max-width: none;
        order: 1;
    }
    
    .search-input {
        font-size: 16px;        padding: 12px 16px;
        border-radius: 25px;
    }
    
    .filter-controls {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        order: 2;
    }
    
    .filter-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        width: 100%;
    }
    
    .filter-btn, .add-btn {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 8px;
        min-height: 44px;        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .btn-text {
        display: inline;
        font-size: 13px;
    }
    
    .filter-btn .icon, .add-btn .icon {
        font-size: 16px;
    }
    
    .map-container {
        height: calc(100vh - 120px) !important;
        min-height: 300px;
    }
    
    #map {
        height: 100% !important;
        width: 100% !important;
        touch-action: pan-x pan-y;
    }
    
    .loading-logo {
        width: 200px;
        height: 200px;
        filter: drop-shadow(0 0 40px var(--neon-green));
        animation: logoPulse 1.5s ease-in-out infinite alternate;
    }
    
    .loading-text {
        font-size: 1.2rem;
    }
    
    .loading-bar {
        width: 250px;
        height: 8px;
    }
    
    .leaflet-popup-content-wrapper {
        max-width: 95vw !important;
        max-height: 80vh !important;
        overflow-y: auto;
        border-radius: 16px !important;
    }
    
    .leaflet-popup-content {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 14px;
    }
    
    .modern-popup {
        max-width: none;
        min-width: none;
        width: 100%;
    }
    
    .modern-popup .popup-header {
        padding: 1rem;
    }
    
    .modern-popup .seller-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .modern-popup .seller-name {
        font-size: 1.2rem;
    }
    
    .modern-popup .verification-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }
    
    .modern-popup .location-info {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .modern-popup .popup-body {
        padding: 1rem;
        gap: 1rem;
    }
    
    .modern-popup .rating-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .modern-popup .rating-display {
        gap: 0.5rem;
    }
    
    .modern-popup .rating-stars {
        font-size: 1rem;
    }
    
    .modern-popup .rating-score {
        font-size: 1rem;
    }
    
    .modern-popup .contact-methods {
        flex-direction: column;
    }
    
    .modern-popup .contact-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .fullscreen-popup-header {
        padding: 1rem 1.5rem;
    }
    
    .fullscreen-popup-header h2 {
        font-size: 1.4rem;
    }
    
    .fullscreen-popup-header .verification-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    
    .fullscreen-popup-header .close-btn {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
        font-size: 1.3rem;
    }
    
    .fullscreen-popup-body {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .seller-location {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .rating-section {
        padding: 0.5rem 0.6rem;
    }
    
    .rating-display {
        gap: 0.4rem;
    }
    
    .rating-stars {
        font-size: 1rem;
    }
    
    .rating-score {
        font-size: 0.8rem;
    }
    
    .rating-count {
        font-size: 0.65rem;
    }
    
    .delivery-section {
        padding: 0.5rem 0.6rem;
    }
    
    .delivery-header {
        margin-bottom: 0.25rem;
    }
    
    .delivery-status {
        gap: 0.5rem;
    }
    
    .delivery-icon {
        font-size: 1rem;
        width: 20px;
        height: 20px;
    }
    
    .delivery-text {
        font-size: 0.85rem;
    }
    
    .delivery-price-text {
        font-size: 1rem;
    }
    
    .delivery-cities {
        font-size: 0.75rem;
        margin-left: 1.7rem;
    }
    
    .products-section {
        padding: 0.5rem 0.6rem;
    }
    
    .section-title {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .products-list {
        gap: 0.2rem;
    }
    
    .product-item {
        padding: 0.2rem 0.25rem;
        min-height: 28px;
    }
    
    .product-name {
        font-size: 0.6rem;
        margin-right: 0.3rem;
    }
    
    .product-price {
        font-size: 0.55rem;
    }
    
    .contact-section {
        padding: 0.5rem 0.6rem;
    }
    
    .contact-item {
        padding: 0.4rem 0.5rem;
    }
    
    .contact-icon {
        font-size: 0.9rem;
    }
    
    .contact-label {
        font-size: 0.7rem;
    }
    
    .contact-value {
        font-size: 0.8rem;
    }
    
    .seller-popup {
        max-width: none;
        width: 100%;
    }
    
    .popup-header {
        padding: 1rem;
    }
    
    .seller-name {
        font-size: 1.3rem;
    }
    
    .verification-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }
    
    .location-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .popup-content {
        padding: 1rem;
    }
    
    .rating-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .rating-stars {
        gap: 0.15rem;
    }
    
    .rating-score {
        font-size: 1.3rem;
    }
    
    .delivery-info {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .delivery-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .product-card {
        padding: 0.5rem;
    }
    
    .product-name {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 0.7rem;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-btn {
        min-width: auto;
        padding: 0.75rem;
        justify-content: center;
    }
    
    .contact-icon {
        font-size: 1.1rem;
    }
    
    .contact-text {
        font-size: 0.85rem;
    }
    
    .review-card {
        padding: 0.75rem;
    }
    
    .review-form-section {
        padding: 1rem;
    }
    
    .comment-input textarea {
        min-height: 70px;
        font-size: 16px;    }
    
    .submit-review-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .reviews-section {
        margin-top: 1rem;
    }
    
    .review-item {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .review-rating {
        gap: 0.1rem;
    }
    
    .add-review-form {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .review-form-group textarea {
        min-height: 100px;
        font-size: 16px;    }
    
    .review-submit-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.5rem;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .filter-buttons {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .filter-btn, .add-btn {
        padding: 14px 16px;
        font-size: 15px;
        min-height: 48px;
    }
    
    .map-container {
        height: calc(100vh - 100px) !important;
        min-height: 300px;
    }
    
    #map {
        height: 100% !important;
        width: 100% !important;
        touch-action: pan-x pan-y;
    }
    
    .leaflet-popup-content-wrapper {
        max-width: 95vw !important;
    }
    
    .loading-logo {
        width: 180px;
        height: 180px;
        filter: drop-shadow(0 0 35px var(--neon-green));
        animation: logoPulse 1.5s ease-in-out infinite alternate;
    }
    
    .loading-bar {
        width: 200px;
    }
    
    .verification-badge {
        font-size: 0.5rem;
        padding: 0.15rem 0.3rem;
    }
    
    .star {
        font-size: 0.9rem;
    }
    
    .review-form-group textarea {
        min-height: 80px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .filter-btn:hover, .add-btn:hover {
        transform: none;
    }
    
    .filter-btn:active, .add-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .star:hover {
        transform: none;
    }
    
    .star:active {
        transform: scale(1.1);
    }
    
    .review-submit-btn:hover {
        transform: none;
    }
    
    .review-submit-btn:active {
        transform: scale(0.98);
    }
    
    .verification-btn:hover {
        transform: none;
    }
    
    .verification-btn:active {
        transform: scale(0.95);
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .header-content {
        flex-direction: row;
        padding: 0.5rem 1rem;
    }
    
    .main-controls {
        flex-direction: row;
        gap: 1rem;
    }
    
    .search-container {
        flex: 1;
        max-width: 300px;
    }
    
    .filter-controls {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .filter-buttons {
        display: flex;
        gap: 0.5rem;
    }
    
    #map {
        height: calc(100vh - 120px) !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .filter-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .leaflet-popup-content-wrapper {
        max-width: 85vw !important;
    }
}

@media (max-width: 768px) {
    .admin-container {
        padding: 0.5rem;
    }
    
    .admin-header {
        padding: 1rem 0.5rem;
    }
    
    .admin-title {
        font-size: 1.5rem;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .sellers-table {
        font-size: 12px;
        overflow-x: auto;
    }
    
    .sellers-table th,
    .sellers-table td {
        padding: 8px 4px;
        white-space: nowrap;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .verification-btn,
    .btn-edit,
    .btn-delete {
        padding: 6px 8px;
        font-size: 11px;
        min-width: auto;
    }
    
    .form-container {
        margin: 0.5rem;
        padding: 1rem;
        max-width: none;
        width: calc(100vw - 1rem);
    }
    
    .form-header {
        padding: 1rem 0.5rem;
    }
    
    .form-progress {
        margin: 1rem 0;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .step {
        flex: 1;
        min-width: 80px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .form-step {
        padding: 1rem 0.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;    }
    
    .form-navigation {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
    }
    
    .nav-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    .verification-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .verification-toggle {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .verification-toggle input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .sellers-table {
        font-size: 11px;
    }
    
    .sellers-table th,
    .sellers-table td {
        padding: 6px 2px;
    }
    
    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .verification-btn,
    .btn-edit,
    .btn-delete {
        flex: 1;
        min-width: 60px;
        padding: 4px 6px;
        font-size: 10px;
    }
    
    .form-container {
        margin: 0.25rem;
        padding: 0.75rem;
        width: calc(100vw - 0.5rem);
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .step {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .step-label {
        font-size: 9px;
    }
}

.delivery-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-cities {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.city-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--neon-green);
    border-radius: 5px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
}

.city-checkboxes label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.city-checkboxes label:hover {
    background: rgba(0, 255, 153, 0.1);
}

.city-checkboxes input[type="checkbox"] {
    accent-color: var(--neon-green);
}

.product-item select {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 0.5rem;
    border-radius: 5px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    min-width: 120px;
}

.product-item select:focus {
    outline: none;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
    .city-checkboxes {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.25rem;
        padding: 0.75rem;
    }
    
    .city-checkboxes label {
        font-size: 0.8rem;
    }
    
    .delivery-fields {
        gap: 0.75rem;
    }
    
    .product-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .product-select,
    .product-price {
        min-width: auto;
        width: 100%;
    }
    
    .product-price {
        display: flex;
        gap: 0.5rem;
    }
    
    .product-price input,
    .product-price select {
        flex: 1;
        min-width: auto;
    }
}

#map-canvas:active {
    cursor: grabbing;
}

.map-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
}

.control-btn {
    width: 40px;
    height: 40px;
    background: var(--darker-bg);
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: var(--shadow-neon);
    transform: scale(1.1);
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 200;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--grid-color);
    border-top: 3px solid var(--neon-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    text-shadow: var(--shadow-soft);
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--darker-bg);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    box-shadow: var(--shadow-neon);
    z-index: 1000;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    animation: popup-appear 0.3s ease;
}

@keyframes popup-appear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.popup-content {
    padding: 1.5rem;
    min-width: 300px;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--neon-green);
}

.popup-header h3 {
    color: var(--neon-green);
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    text-shadow: var(--shadow-soft);
}

.close-btn {
    background: none;
    border: none;
    color: var(--neon-green);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: var(--shadow-soft);
}

.popup-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seller-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.delivery-status {
    color: var(--neon-green);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.socials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--neon-green);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--neon-green);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: var(--shadow-soft);
}

.products-section h4 {
    color: var(--neon-green);
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.5rem;
    text-shadow: var(--shadow-soft);
}

.products-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.product-item:hover {
    border-color: var(--neon-green);
    box-shadow: var(--shadow-soft);
}

.product-name {
    font-weight: bold;
    color: var(--text-primary);
}

.product-price {
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
}

.popup-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.edit-btn {
    padding: 0.5rem 1rem;
    background: var(--neon-green);
    border: none;
    border-radius: 20px;
    color: var(--dark-bg);
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.edit-btn:hover {
    background: var(--neon-green-light);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.form-container {
    background: linear-gradient(135deg, rgba(0, 20, 0, 0.95), rgba(0, 40, 0, 0.95));
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 153, 0.1);
    max-width: 90vw;
    width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    animation: form-appear 0.3s ease;
    backdrop-filter: blur(20px);
}

@keyframes form-appear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-progress {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 255, 153, 0.1);
    border-radius: 3px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff99, #00cc77);
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 20%;
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.5);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: rgba(0, 255, 153, 0.1);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.4;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 0.8;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 255, 153, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 255, 153, 0.6);
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #00ff99;
    color: #000;
    border-color: #00ff99;
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.5);
}

.step.completed .step-number {
    background: #00ff99;
    color: #000;
    border-color: #00ff99;
}

.step-label {
    font-size: 0.75rem;
    color: rgba(0, 255, 153, 0.8);
    text-align: center;
    font-weight: 500;
}

.form-step {
    display: none;
    min-height: 350px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin: 1rem 0;
    border: 1px solid rgba(0, 255, 153, 0.1);
}

.form-step.active {
    display: block;
    animation: stepFadeIn 0.4s ease;
}

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

.form-step h4 {
    color: #00ff99;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 153, 0.1);
    gap: 1rem;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    color: #00ff99;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-btn:hover {
    background: rgba(0, 255, 153, 0.1);
    border-color: #00ff99;
    transform: translateY(-1px);
}

.prev-btn {
    margin-right: auto;
}

.next-btn {
    margin-left: auto;
}

.cancel-btn {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff6666;
}

.cancel-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff6666;
}

.save-btn {
    background: rgba(0, 255, 153, 0.1);
    border-color: #00ff99;
    color: #00ff99;
}

.save-btn:hover {
    background: #00ff99;
    color: #000;
}

.review-content {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 153, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.review-section {
    margin-bottom: 1.5rem;
}

.review-section:last-child {
    margin-bottom: 0;
}

.review-section h5 {
    color: #00ff99;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 255, 153, 0.2);
    padding-bottom: 0.5rem;
}

.review-section p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.delivery-info {
    background: rgba(0, 255, 153, 0.05);
    border: 1px solid rgba(0, 255, 153, 0.2);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.delivery-info p {
    color: #00ff99;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 1rem;
}

.form-header h3 {
    color: var(--neon-green);
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    text-shadow: var(--shadow-soft);
}

.seller-form {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    color: #00ff99;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select {
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 153, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #00ff99;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 2px rgba(0, 255, 153, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select option {
    background: #000;
    color: #00ff99;
}

.delivery-cities-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.delivery-city-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.delivery-city-item select {
    flex: 1;
}

.remove-delivery-city {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6666;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-delivery-city:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff6666;
    transform: scale(1.1);
}

.add-delivery-city-btn {
    background: rgba(0, 255, 153, 0.1);
    border: 1px solid rgba(0, 255, 153, 0.3);
    color: #00ff99;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.add-delivery-city-btn:hover {
    background: rgba(0, 255, 153, 0.2);
    border-color: #00ff99;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #00ff99;
    font-weight: 500;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #00ff99;
    cursor: pointer;
}

.social-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.city-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.city-checkboxes label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.city-checkboxes input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #00ff99;
    cursor: pointer;
}

.tooltip-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: rgba(0, 255, 153, 0.2);
    border: 1px solid rgba(0, 255, 153, 0.4);
    border-radius: 50%;
    color: #00ff99;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 16px;
    cursor: help;
    margin-left: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.tooltip-icon:hover {
    background: rgba(0, 255, 153, 0.3);
    border-color: #00ff99;
    transform: scale(1.1);
}

.tooltip-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    color: #00ff99;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: normal;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 255, 153, 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    max-width: 400px;
    white-space: normal;
    text-align: center;
    line-height: 1.5;
}

.tooltip-icon::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 255, 153, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip-icon:hover::after,
.tooltip-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

.products-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 0.5rem;
}

.product-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.product-item:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.2);
}

.product-select {
    flex: 1;
    min-width: 150px;
}

.product-select select {
    width: 100%;
    padding: 0.5rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
}

.product-select select:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 5px rgba(0, 255, 153, 0.3);
}

.product-price {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    min-width: 200px;
}

.product-price input {
    flex: 1;
    padding: 0.5rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    min-width: 80px;
}

.product-price input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 5px rgba(0, 255, 153, 0.3);
}

.product-price select {
    flex: 1;
    padding: 0.5rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    min-width: 100px;
}

.product-price select:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 5px rgba(0, 255, 153, 0.3);
}

.remove-product {
    background: #ff4444;
    border: none;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.remove-product:hover {
    background: #ff6666;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.add-product-btn {
    padding: 0.5rem;
    background: var(--neon-green);
    border: none;
    border-radius: 5px;
    color: var(--dark-bg);
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-product-btn:hover {
    background: var(--neon-green-light);
    box-shadow: var(--shadow-soft);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.cancel-btn, .save-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--neon-green);
    border-radius: 25px;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.cancel-btn {
    background: transparent;
    color: var(--neon-green);
}

.cancel-btn:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: var(--shadow-neon);
}

.save-btn {
    background: var(--neon-green);
    color: var(--dark-bg);
}

.save-btn:hover {
    background: var(--neon-green-light);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.password-container {
    background: var(--darker-bg);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    box-shadow: var(--shadow-neon);
    padding: 2rem;
    text-align: center;
    animation: form-appear 0.3s ease;
}

.password-container h3 {
    color: var(--neon-green);
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
    text-shadow: var(--shadow-soft);
}

#password-input {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-bg);
    border: 2px solid var(--neon-green);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

#password-input:focus {
    outline: none;
    box-shadow: var(--shadow-soft);
    border-color: var(--neon-green-light);
}

.password-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}



.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .controls {
        gap: 0.75rem;
    }
    
    .filter-buttons {
        gap: 0.25rem;
    }
    
    .filter-btn, .add-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .map-controls {
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .popup-content {
        padding: 1rem;
        min-width: 280px;
    }
    
    .form-container {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .seller-form {
        padding: 0 1rem 1rem;
    }
    
    .social-inputs {
        gap: 0.25rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .password-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .password-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .search-input {
        padding: 0.6rem 2rem 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .filter-btn, .add-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .popup-content {
        padding: 0.75rem;
        min-width: 260px;
    }
    
    .form-container {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }
}

.analytics-dashboard {
    margin-bottom: 2rem;
}

.analytics-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    border-color: #00ff99;
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.2);
}

.analytics-card h3 {
    color: #00ff99;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.analytics-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
}

.analytics-charts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.chart-container {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
}

.chart-container h3 {
    color: #00ff99;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.chart-container canvas {
    max-height: 300px;
}

@media (min-width: 768px) {
    .analytics-charts {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    
    .analytics-overview {
        grid-template-columns: repeat(4, 1fr);
    }
}
