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

        html, body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #f5f7fa;
            overflow-x: hidden;
            overflow-y: hidden;
            width: 100%;
            max-width: 100vw;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }

        #map {
            width: 100%;
            height: 100vh;
            z-index: 1;
        }
        
        .custom-emoji-icon {
            background: transparent !important;
            border: none !important;
        }
        
        .custom-cluster-icon {
            background: transparent !important;
            border: none !important;
        }
        
        .marker-cluster {
            background: transparent !important;
        }

        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: white;
            color: #2d3436;
            padding: 16px 20px;
            border-radius: 0;
            box-shadow: 0 2px 12px rgba(0,0,0,0.1);
            z-index: 1000;
            border-bottom: 1px solid #e9ecef;
        }

        @media (max-width: 768px) {
            .header {
                top: 0;
                left: 0;
                right: 0;
                padding: 10px 12px;
            }

            .header-top {
                gap: 6px;
            }

            .header-search input {
                font-size: 14px;
                padding: 10px 12px;
            }

            .filter-dropdown {
                font-size: 11px;
                padding: 8px 10px;
            }

            .menu-btn {
                font-size: 20px;
            }

            .header-version {
                font-size: 9px;
                padding: 4px 6px;
            }
        }

        .header-top {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .header-bottom {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .filter-chip {
            padding: 8px 18px;
            border-radius: 20px;
            border: 2px solid #e9ecef;
            background: white;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            color: #636e72;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .filter-chip:hover {
            border-color: #ff6b6b;
            color: #ff6b6b;
        }

        .filter-chip.active {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border-color: #ff6b6b;
        }

        .header-search {
            flex: 1;
            position: relative;
        }

        .header-search input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e9ecef;
            border-radius: 16px;
            font-size: 15px;
            background: #f8f9fa;
            transition: all 0.2s;
        }

        .header-search input:focus {
            outline: none;
            border-color: #ff6b6b;
            background: white;
        }
        
        .search-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            z-index: 1000;
            max-height: 300px;
            overflow-y: auto;
            display: none;
            margin-top: 4px;
        }
        
        .search-dropdown.show {
            display: block;
        }
        
        .search-dropdown-item {
            padding: 12px 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            border-bottom: 1px solid #f1f3f5;
            transition: background 0.2s;
        }
        
        .search-dropdown-item:last-child {
            border-bottom: none;
        }
        
        .search-dropdown-item:hover,
        .search-dropdown-item.active {
            background: #fff5f5;
        }
        
        .search-dropdown-item-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            overflow: hidden;
        }
        
        .search-dropdown-item-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .search-dropdown-item-info {
            flex: 1;
            min-width: 0;
        }
        
        .search-dropdown-item-name {
            font-weight: 600;
            font-size: 14px;
            color: #2d3436;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .search-dropdown-item-meta {
            font-size: 12px;
            color: #636e72;
            display: flex;
            gap: 8px;
        }
        
        .search-dropdown-section {
            padding: 8px 16px;
            background: #f8f9fa;
            font-size: 11px;
            font-weight: 700;
            color: #636e72;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .header-version {
            font-size: 11px;
            background: #f1f3f5;
            padding: 6px 12px;
            border-radius: 12px;
            color: #636e72;
            font-weight: 600;
            white-space: nowrap;
        }

        .logout-btn {
            width: 36px;
            height: 36px;
            border-radius: 12px;
            border: none;
            background: #f1f3f5;
            color: #636e72;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .logout-btn:hover {
            background: #ff6b6b;
            color: white;
        }

        .filter-dropdown {
            padding: 10px 16px;
            border-radius: 12px;
            border: 2px solid #e9ecef;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            background: white;
            color: #2d3436;
            transition: all 0.2s;
            width: 100%;
        }

        .filter-dropdown:hover {
            border-color: #ff6b6b;
        }

        .menu-btn {
            background: transparent;
            border: none;
            font-size: 24px;
            cursor: pointer;
            padding: 4px;
            color: #2d3436;
            transition: all 0.2s;
        }

        .menu-btn:hover {
            transform: scale(1.1);
        }

        .filter-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 5000;
            animation: fadeIn 0.3s;
        }

        .filter-modal.open {
            display: block;
        }

        .filter-modal-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-radius: 24px 24px 0 0;
            padding: 24px;
            max-height: 80vh;
            overflow-y: auto;
            animation: slideUp 0.3s;
        }

        .filter-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .filter-modal-title {
            font-size: 20px;
            font-weight: 700;
            color: #2d3436;
        }

        .filter-reset-btn {
            background: none;
            border: none;
            color: #ff6b6b;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
        }

        .filter-section {
            margin-bottom: 28px;
        }

        .filter-section-title {
            font-size: 16px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 12px;
        }

        .filter-main-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .filter-category-btn {
            padding: 10px 16px;
            border-radius: 20px;
            border: 2px solid #e9ecef;
            background: white;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            color: #636e72;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .filter-category-btn:hover {
            border-color: #27ae60;
        }

        .filter-category-btn.active {
            background: #27ae60;
            color: white;
            border-color: #27ae60;
        }

        .filter-subcategories {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            animation: fadeIn 0.2s;
        }

        .filter-subcategory-btn {
            padding: 8px 14px;
            border-radius: 16px;
            border: 2px solid #e9ecef;
            background: white;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            color: #636e72;
            transition: all 0.2s;
        }

        .filter-subcategory-btn:hover {
            border-color: #ff6b6b;
            color: #ff6b6b;
        }

        .filter-subcategory-btn.active {
            background: #ff6b6b;
            color: white;
            border-color: #ff6b6b;
        }

        .filter-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .category-chip {
            padding: 10px 20px;
            border-radius: 20px;
            border: 2px solid #e9ecef;
            background: white;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            color: #2d3436;
            transition: all 0.2s;
        }

        .category-chip.active {
            background: #ff6b6b;
            color: white;
            border-color: #ff6b6b;
        }

        .filter-distance {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .distance-controls {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .distance-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            border: 2px solid #e9ecef;
            background: white;
            font-size: 18px;
            cursor: pointer;
            color: #2d3436;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .distance-value {
            font-size: 16px;
            font-weight: 700;
            color: #ff6b6b;
            min-width: 60px;
            text-align: center;
        }

        .filter-rating-chips {
            display: flex;
            gap: 10px;
        }

        .rating-chip {
            padding: 10px 16px;
            border-radius: 20px;
            border: 2px solid #e9ecef;
            background: white;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            color: #2d3436;
            transition: all 0.2s;
        }

        .rating-chip.active {
            background: #ff6b6b;
            color: white;
            border-color: #ff6b6b;
        }

        .filter-price-range {
            margin-top: 12px;
        }

        .price-range-labels {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .price-label {
            font-size: 14px;
            font-weight: 600;
            color: #ff6b6b;
        }

        .price-slider-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .price-chip {
            padding: 8px 14px;
            border-radius: 16px;
            border: 2px solid #e9ecef;
            background: white;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            color: #2d3436;
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
        }
        
        .price-chip small {
            font-size: 10px;
            font-weight: 500;
            opacity: 0.7;
        }

        .price-chip.active {
            background: #ff6b6b;
            color: white;
            border-color: #ff6b6b;
        }
        
        .price-chip.active small {
            opacity: 1;
        }

        .filter-show-results-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            margin-top: 24px;
            box-shadow: 0 4px 12px rgba(255,107,107,0.3);
        }

        .filter-show-results-btn:active {
            transform: scale(0.98);
        }

        @keyframes slideUp {
            from {
                transform: translateY(100%);
            }
            to {
                transform: translateY(0);
            }
        }

        .filter-chips {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 4px;
        }

        .filter-chips::-webkit-scrollbar {
            height: 4px;
        }

        .filter-chips::-webkit-scrollbar-thumb {
            background: #dfe6e9;
            border-radius: 4px;
        }

        .filter-chip {
            padding: 8px 16px;
            border-radius: 20px;
            border: 2px solid #e9ecef;
            background: white;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s;
            color: #636e72;
        }

        .filter-chip:hover {
            border-color: #ff6b6b;
            background: #fff5f5;
        }

        .filter-chip.active {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border-color: #ff6b6b;
        }

        .header h1 {
            font-size: 18px;
            font-weight: 700;
            color: #2d3436;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .header-icon {
            font-size: 24px;
        }

        .header-actions {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .menu-btn {
            background: white;
            border: 2px solid #e9ecef;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            transition: all 0.2s;
        }

        .menu-btn:hover {
            border-color: #ff6b6b;
            background: #fff5f5;
        }

        .sidebar {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            max-width: 400px;
            height: calc(100vh - 60px);
            background: #f8f9fa;
            box-shadow: -4px 0 24px rgba(0,0,0,0.15);
            z-index: 3000;
            transition: right 0.3s ease-in-out;
            overflow-y: auto;
        }

        .sidebar.open {
            right: 0;
        }

        .sidebar.fullscreen {
            max-width: 100%;
        }

        .sidebar-header {
            padding: 24px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .dishes-header {
            background: white;
            padding: 20px;
            border-radius: 0 0 24px 24px;
            margin-bottom: 16px;
        }

        .dishes-search-container {
            margin-bottom: 16px;
        }

        .dishes-search-input {
            width: 100%;
            padding: 12px 16px 12px 44px;
            border: 2px solid #e9ecef;
            border-radius: 16px;
            font-size: 15px;
            background: #f8f9fa;
            transition: all 0.2s;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23636e72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: 14px center;
        }

        .dishes-search-input:focus {
            outline: none;
            border-color: #ff6b6b;
            background-color: white;
        }

        .dishes-search-input::placeholder {
            color: #adb5bd;
        }

        .dishes-title-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .dishes-title {
            font-size: 24px;
            font-weight: 700;
            color: #2d3436;
        }

        .share-btn {
            color: #27ae60;
            font-size: 14px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
            background: none;
            border: none;
            cursor: pointer;
        }

        .dish-filters {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 8px;
        }

        .dish-filters::-webkit-scrollbar {
            height: 4px;
        }

        .dish-filter-btn {
            padding: 10px 20px;
            border-radius: 20px;
            border: none;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .dish-filter-btn.active {
            background: #27ae60;
            color: white;
        }

        .dish-filter-btn:not(.active) {
            background: #f1f3f5;
            color: #636e72;
        }

        .dish-subcategories {
            display: flex;
            gap: 6px;
            overflow-x: auto;
            padding: 12px 0 8px;
            margin-top: 4px;
            border-top: 1px solid #e9ecef;
            animation: slideDown 0.2s ease-out;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .dish-subcategories::-webkit-scrollbar {
            height: 4px;
        }

        .subcategory-btn {
            padding: 8px 16px;
            border-radius: 16px;
            border: 2px solid #e9ecef;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s;
            background: white;
            color: #636e72;
        }

        .subcategory-btn:hover {
            border-color: #ff6b6b;
            color: #ff6b6b;
        }

        .subcategory-btn.active {
            background: #ff6b6b;
            color: white;
            border-color: #ff6b6b;
        }

        .dishes-list {
            padding: 0 16px 80px;
        }

        .dish-card {
            background: white;
            border-radius: 20px;
            padding: 16px;
            margin-bottom: 16px;
            display: flex;
            gap: 16px;
            position: relative;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .dish-rank {
            position: absolute;
            top: -8px;
            left: -8px;
            width: 32px;
            height: 32px;
            background: #27ae60;
            color: white;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            box-shadow: 0 2px 8px rgba(39,174,96,0.3);
        }

        .dish-image-wrapper {
            width: 100px;
            height: 100px;
            flex-shrink: 0;
            border-radius: 16px;
            overflow: hidden;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .dish-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            font-size: 50px;
        }

        .dish-info {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .dish-name {
            font-size: 16px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 4px;
        }

        .dish-description {
            font-size: 12px;
            color: #95a5a6;
            margin-bottom: 8px;
        }

        .dish-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: #636e72;
            margin-bottom: 8px;
        }

        .dish-meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .dish-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }

        .dish-price {
            font-size: 18px;
            font-weight: 700;
            color: #2d3436;
        }

        .dish-price-info {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: wrap;
        }

        .dish-price-label,
        .dish-rating-label {
            font-size: 12px;
            color: #636e72;
            font-weight: 500;
        }

        .dish-price-value {
            font-size: 16px;
            font-weight: 700;
            color: #2d3436;
        }

        .dish-price-category {
            font-size: 11px;
            color: #27ae60;
            font-weight: 500;
        }

        .dish-rating {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .dish-actions {
            display: flex;
            gap: 8px;
        }

        .dish-action-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 16px;
        }

        .dish-action-whatsapp {
            background: #25d366;
            color: white;
        }

        .dish-action-messenger {
            background: #0084ff;
            color: white;
        }

        .dish-action-share {
            background: #27ae60;
            color: white;
        }

        .dish-rating {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 14px;
            font-weight: 700;
        }

        .dish-rating-emoji {
            font-size: 16px;
        }

        .dish-detail-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(45,52,54,0.6);
            backdrop-filter: blur(4px);
            z-index: 6000;
            animation: fadeIn 0.3s;
        }

        .dish-detail-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-radius: 32px 32px 0 0;
            max-height: 85vh;
            overflow-y: auto;
            animation: slideUp 0.3s;
        }

        .dish-detail-header {
            position: relative;
            height: 200px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 32px 32px 0 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 100px;
        }

        .dish-detail-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: rgba(255,255,255,0.9);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            color: #2d3436;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

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

        .dish-detail-body {
            padding: 28px 24px;
        }

        .dish-detail-title {
            font-size: 28px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 8px;
        }

        .dish-detail-restaurant {
            font-size: 16px;
            color: #636e72;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .dish-info-grid {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 20px;
            margin-bottom: 20px;
        }

        .dish-info-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #e9ecef;
        }

        .dish-info-row:last-child {
            border-bottom: none;
        }

        .dish-info-label {
            font-weight: 600;
            color: #636e72;
            font-size: 14px;
        }

        .dish-info-value {
            color: #2d3436;
            font-size: 14px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .dish-notes-section {
            background: white;
            border: 2px solid #e9ecef;
            padding: 20px;
            border-radius: 20px;
            margin-bottom: 20px;
        }

        .dish-notes-section h4 {
            font-size: 13px;
            color: #636e72;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 700;
        }

        .dish-notes-section p {
            color: #2d3436;
            line-height: 1.6;
            font-size: 14px;
        }

        .dish-delete-btn {
            background: #ff6b6b;
            color: white;
            border: none;
            padding: 14px 24px;
            border-radius: 16px;
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
            width: 100%;
            transition: all 0.2s;
        }

        .dish-delete-btn:hover {
            background: #ff5252;
        }

        .restaurants-list-view {
            background: #f8f9fa;
            height: calc(100vh - 60px);
            overflow-y: auto;
            padding-top: 0;
        }

        .restaurants-integrated-header {
            background: white;
            padding: 20px;
            margin-bottom: 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .restaurants-header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .restaurants-header-title {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .restaurants-header-icon {
            font-size: 24px;
        }

        .restaurants-header-name {
            font-size: 18px;
            font-weight: 700;
            color: #2d3436;
        }

        .restaurants-version {
            font-size: 11px;
            background: #f1f3f5;
            padding: 4px 10px;
            border-radius: 12px;
            color: #636e72;
            font-weight: 600;
        }

        .restaurants-header-actions {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .restaurants-filter-dropdown {
            padding: 10px 16px;
            border-radius: 16px;
            border: 2px solid #e9ecef;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            background: white;
            color: #2d3436;
            transition: all 0.2s;
        }

        .restaurants-add-btn {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 16px;
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(255,107,107,0.3);
            transition: all 0.2s;
            white-space: nowrap;
        }

        .restaurants-search {
            width: 100%;
            margin-bottom: 16px;
        }

        .restaurants-search input {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #e9ecef;
            border-radius: 16px;
            font-size: 15px;
            background: #f8f9fa;
            transition: all 0.2s;
        }

        .restaurants-search input:focus {
            outline: none;
            border-color: #ff6b6b;
            background: white;
        }

        /* Settings Styles */
        .settings-content {
            padding: 16px;
        }
        
        .settings-section {
            background: white;
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .settings-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .settings-section-header h3 {
            font-size: 16px;
            font-weight: 700;
            color: #2d3436;
            margin: 0;
        }
        
        .settings-add-btn {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
        }
        
        .settings-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .settings-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            background: #f8f9fa;
            border-radius: 12px;
        }
        
        .settings-item-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .settings-item-emoji {
            font-size: 20px;
        }
        
        .settings-item-name {
            font-weight: 600;
            color: #2d3436;
        }
        
        .settings-item-meta {
            font-size: 12px;
            color: #636e72;
        }
        
        .settings-item-actions {
            display: flex;
            gap: 8px;
        }
        
        .settings-item-btn {
            background: none;
            border: none;
            font-size: 16px;
            cursor: pointer;
            padding: 4px;
        }
        
        .settings-item-btn.delete {
            color: #e74c3c;
        }
        
        .settings-empty {
            text-align: center;
            padding: 20px;
            color: #636e72;
            font-size: 14px;
        }

        /* Settings Menu Items */
        .settings-menu-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px;
            background: #f8f9fa;
            border-radius: 14px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.2s;
            border: 2px solid transparent;
        }

        .settings-menu-item:hover {
            background: #fff5f5;
            border-color: #ff6b6b;
        }

        .settings-menu-icon {
            font-size: 28px;
            width: 44px;
            height: 44px;
            background: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .settings-menu-info {
            flex: 1;
        }

        .settings-menu-title {
            font-size: 16px;
            font-weight: 600;
            color: #2d3436;
        }

        .settings-menu-desc {
            font-size: 13px;
            color: #636e72;
            margin-top: 2px;
        }

        .settings-menu-arrow {
            font-size: 24px;
            color: #dfe6e9;
        }

        .settings-back-btn {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            border: 2px solid #e9ecef;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
            color: #ff6b6b;
            margin-right: 8px;
            transition: all 0.2s;
        }

        .settings-back-btn:hover {
            border-color: #ff6b6b;
            background: #fff5f5;
        }

        .settings-section-label {
            font-size: 12px;
            font-weight: 700;
            color: #636e72;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 0 4px;
            margin-bottom: 10px;
            margin-top: 8px;
        }

        /* Emoji Picker */
        .emoji-input-wrapper {
            position: relative;
        }

        .emoji-input-wrapper input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            font-size: 24px;
            text-align: center;
            cursor: pointer;
            background: white;
        }

        .emoji-input-wrapper input:focus {
            outline: none;
            border-color: #ff6b6b;
        }

        .emoji-picker {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 8px;
            margin-top: 12px;
            padding: 12px;
            background: #f8f9fa;
            border-radius: 12px;
            border: 2px solid #e9ecef;
        }

        .emoji-picker span {
            font-size: 28px;
            text-align: center;
            padding: 8px;
            cursor: pointer;
            border-radius: 8px;
            transition: all 0.2s;
        }

        .emoji-picker span:hover {
            background: #fff5f5;
            transform: scale(1.2);
        }

        .emoji-picker span.selected {
            background: #ff6b6b;
            border-radius: 8px;
        }

        .settings-group-header {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            padding: 20px;
            border-radius: 16px;
            margin-bottom: 16px;
            color: white;
        }

        .settings-group-name {
            font-size: 18px;
            font-weight: 700;
        }

        .settings-group-meta {
            font-size: 14px;
            opacity: 0.9;
            margin-top: 4px;
        }

        .member-card {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px;
            background: white;
            border-radius: 14px;
            margin-bottom: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .member-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            font-weight: 600;
        }

        .member-info {
            flex: 1;
        }

        .member-name {
            font-size: 15px;
            font-weight: 600;
            color: #2d3436;
        }

        .member-role {
            font-size: 12px;
            color: #636e72;
            margin-top: 2px;
        }

        .member-stats {
            text-align: right;
        }

        .member-stat-value {
            font-size: 16px;
            font-weight: 700;
            color: #ff6b6b;
        }

        .member-stat-label {
            font-size: 11px;
            color: #636e72;
        }

        /* Invite Code Box */
        .invite-code-box {
            background: white;
            border-radius: 20px;
            padding: 32px 24px;
            text-align: center;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
            margin-bottom: 24px;
        }

        .invite-emoji {
            font-size: 56px;
            margin-bottom: 16px;
        }

        .invite-label {
            font-size: 14px;
            color: #636e72;
            margin-bottom: 12px;
        }

        .invite-code {
            font-size: 36px;
            font-weight: 700;
            color: #2d3436;
            letter-spacing: 8px;
            font-family: monospace;
            margin-bottom: 20px;
        }

        .invite-copy-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(255,107,107,0.3);
            transition: all 0.2s;
            font-family: inherit;
        }

        .invite-copy-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(255,107,107,0.4);
        }

        .invite-share-section {
            text-align: center;
            margin-bottom: 24px;
        }

        .invite-share-label {
            font-size: 14px;
            color: #636e72;
            margin-bottom: 16px;
        }

        .invite-share-buttons {
            display: flex;
            justify-content: center;
            gap: 16px;
        }

        .share-btn {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: all 0.2s;
        }

        .share-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.15);
        }

        .share-whatsapp { background: #25D366; color: white; }
        .share-email { background: #007AFF; color: white; }
        .share-link { background: #f1f3f5; color: #2d3436; }

        .restaurants-list-header {
            background: white;
            padding: 20px;
            border-radius: 0 0 24px 24px;
            margin-bottom: 16px;
        }

        .restaurants-list-title {
            font-size: 24px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 16px;
        }

        .restaurant-card {
            background: white;
            border-radius: 20px;
            padding: 16px;
            margin: 0 16px 16px;
            display: flex;
            gap: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            cursor: pointer;
            transition: all 0.2s;
        }

        .restaurant-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.12);
        }

        .restaurant-image-wrapper {
            width: 100px;
            height: 100px;
            flex-shrink: 0;
            border-radius: 16px;
            overflow: hidden;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 50px;
        }

        .restaurant-image-wrapper.has-photo {
            background: #e9ecef;
        }

        .restaurant-cover-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .restaurant-card-info {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .restaurant-card-name {
            font-size: 16px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 4px;
        }

        .restaurant-card-cuisine {
            font-size: 12px;
            color: #636e72;
            margin-bottom: 8px;
        }

        .restaurant-card-rating {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
        }

        .restaurant-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .restaurant-dishes-section {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid #e9ecef;
        }

        .restaurant-dishes-title {
            font-size: 16px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 16px;
        }

        .restaurant-dish-item {
            background: #f8f9fa;
            padding: 12px 16px;
            border-radius: 12px;
            margin-bottom: 12px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .restaurant-dish-info {
            flex: 1;
        }

        .restaurant-dish-name {
            font-size: 14px;
            font-weight: 600;
            color: #2d3436;
            margin-bottom: 4px;
        }

        .restaurant-dish-category {
            font-size: 12px;
            color: #636e72;
            margin-bottom: 4px;
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .dish-cat {
            text-transform: capitalize;
        }

        .dish-subcat {
            color: #27ae60;
            text-transform: capitalize;
        }

        .restaurant-dish-description {
            font-size: 12px;
            color: #636e72;
        }

        .restaurant-dish-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 4px;
        }

        .restaurant-dish-price {
            font-size: 14px;
            font-weight: 600;
            color: #27ae60;
        }

        .restaurant-dish-rating {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 14px;
            font-weight: 700;
        }

        .restaurant-photos-section {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid #e9ecef;
        }

        .restaurant-photos-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .restaurant-photos-title {
            font-size: 16px;
            font-weight: 700;
            color: #2d3436;
        }

        .photo-buttons {
            display: flex;
            gap: 8px;
        }

        .add-photo-btn {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            padding: 10px 14px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
        }

        .add-photo-btn.gallery-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .add-photo-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255,107,107,0.3);
        }

        .add-photo-btn.gallery-btn:hover {
            box-shadow: 0 4px 12px rgba(102,126,234,0.3);
        }

        .photo-gallery {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .photo-item {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            background: #f8f9fa;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .photo-item-image {
            aspect-ratio: 4/3;
            overflow: hidden;
        }

        .photo-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.2s;
        }

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

        .photo-item-info {
            padding: 10px 12px;
            background: white;
        }
        
        .photo-item-name {
            font-size: 14px;
            font-weight: 600;
            color: #2d3436;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .photo-item-rating {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-bottom: 4px;
        }

        .photo-item-rating .stars {
            color: #ffd700;
            font-size: 14px;
        }

        .photo-item-rating .rating-text {
            font-size: 12px;
            font-weight: 600;
            color: #2d3436;
        }
        
        .photo-item-price {
            font-size: 13px;
            font-weight: 600;
            color: #27ae60;
            margin-bottom: 2px;
        }

        .photo-item-date {
            font-size: 11px;
            color: #999;
        }

        .photo-item-caption {
            font-size: 12px;
            color: #636e72;
            margin-top: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .photo-item-delete {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(255,107,107,0.9);
            color: white;
            border: none;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .photo-item:hover .photo-item-delete {
            opacity: 1;
        }

        .photo-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 32px 24px;
            color: #999;
            font-size: 14px;
            background: #f8f9fa;
            border-radius: 16px;
            border: 2px dashed #dfe6e9;
        }

        .photo-empty-icon {
            font-size: 48px;
            margin-bottom: 12px;
        }

        .photo-upload-input {
            display: none;
        }

        /* Photo Crop/Adjust Modal */
        .photo-crop-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.95);
            z-index: 7500;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .photo-crop-modal.open {
            display: flex;
        }

        .photo-crop-header {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
            z-index: 10;
        }

        .photo-crop-title {
            color: white;
            font-size: 17px;
            font-weight: 600;
        }

        .photo-crop-close {
            background: none;
            border: none;
            color: white;
            font-size: 28px;
            cursor: pointer;
            padding: 0;
            line-height: 1;
        }

        .photo-crop-container {
            position: relative;
            width: 100%;
            height: 70vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            touch-action: none;
            -webkit-user-select: none;
            user-select: none;
        }

        .photo-crop-image {
            max-width: none;
            max-height: none;
            width: auto;
            height: 80%;
            object-fit: contain;
            transform-origin: center center;
            pointer-events: auto;
            touch-action: none;
            -webkit-user-drag: none;
            user-drag: none;
        }

        .photo-crop-frame {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 85%;
            aspect-ratio: 1;
            max-width: 320px;
            max-height: 320px;
            border: 3px solid white;
            border-radius: 16px;
            box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
            pointer-events: none;
        }

        .photo-crop-frame::before {
            content: '';
            position: absolute;
            top: 33.33%;
            left: 0;
            right: 0;
            height: 1px;
            background: rgba(255,255,255,0.3);
        }

        .photo-crop-frame::after {
            content: '';
            position: absolute;
            top: 66.66%;
            left: 0;
            right: 0;
            height: 1px;
            background: rgba(255,255,255,0.3);
        }

        .photo-crop-grid-v1,
        .photo-crop-grid-v2 {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 1px;
            background: rgba(255,255,255,0.3);
            pointer-events: none;
        }

        .photo-crop-grid-v1 { left: 33.33%; }
        .photo-crop-grid-v2 { left: 66.66%; }

        .photo-crop-hint {
            color: rgba(255,255,255,0.7);
            font-size: 13px;
            text-align: center;
            margin-top: 16px;
            padding: 0 20px;
        }

        .photo-crop-controls {
            display: flex;
            gap: 12px;
            margin-top: 20px;
            padding: 0 20px;
        }

        .photo-crop-zoom {
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(255,255,255,0.15);
            padding: 10px 16px;
            border-radius: 25px;
        }

        .photo-crop-zoom-btn {
            background: white;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            font-size: 20px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2d3436;
        }

        .photo-crop-zoom-label {
            color: white;
            font-size: 14px;
            min-width: 45px;
            text-align: center;
        }

        .photo-crop-footer {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 20px;
            padding-bottom: max(20px, env(safe-area-inset-bottom));
            display: flex;
            gap: 12px;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        }

        .photo-crop-btn {
            flex: 1;
            padding: 16px;
            border-radius: 14px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            border: none;
        }

        .photo-crop-btn.cancel {
            background: rgba(255,255,255,0.2);
            color: white;
        }

        .photo-crop-btn.confirm {
            background: #27ae60;
            color: white;
        }

        /* Photo Rating Modal */
        .photo-rate-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.6);
            z-index: 7000;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(4px);
        }

        .photo-rate-modal.open {
            display: flex;
        }

        .photo-rate-content {
            background: white;
            border-radius: 24px;
            width: 90%;
            max-width: 400px;
            overflow: hidden;
            animation: slideUp 0.3s;
        }

        .photo-rate-preview {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .photo-rate-body {
            padding: 20px;
        }

        .photo-rate-title {
            font-size: 18px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 20px;
            text-align: center;
        }

        .photo-rate-field {
            margin-bottom: 16px;
        }

        .photo-rate-label {
            font-size: 14px;
            font-weight: 600;
            color: #636e72;
            margin-bottom: 8px;
            display: block;
        }

        .photo-rate-stars {
            display: flex;
            gap: 8px;
            justify-content: center;
        }

        .photo-rate-star {
            font-size: 32px;
            cursor: pointer;
            transition: transform 0.1s;
            color: #dfe6e9;
        }

        .photo-rate-star:hover {
            transform: scale(1.2);
        }

        .photo-rate-star.active {
            color: #ffd700;
        }

        .photo-rate-input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            font-size: 14px;
            transition: border-color 0.2s;
        }

        .photo-rate-input:focus {
            outline: none;
            border-color: #ff6b6b;
        }

        .photo-rate-buttons {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }

        .photo-rate-btn {
            flex: 1;
            padding: 14px;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .photo-rate-btn.cancel {
            background: #f1f3f5;
            border: none;
            color: #636e72;
        }

        .photo-rate-btn.save {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            border: none;
            color: white;
        }

        .photo-rate-btn:hover {
            transform: translateY(-2px);
        }

        .photo-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.9);
            z-index: 6000;
            justify-content: center;
            align-items: center;
        }

        .photo-modal.open {
            display: flex;
        }

        .photo-modal-content {
            max-width: 90vw;
            max-height: 90vh;
            border-radius: 12px;
        }

        .photo-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255,255,255,0.2);
            color: white;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            z-index: 10;
        }
        
        /* Dish Info Modal */
        .dish-info-modal-content {
            background: white;
            border-radius: 20px;
            max-width: 90vw;
            max-height: 90vh;
            overflow: hidden;
            overflow-y: auto;
            position: relative;
        }
        
        .dish-info-image {
            width: 100%;
            max-height: 300px;
            object-fit: cover;
        }
        
        .dish-info-body {
            padding: 20px;
        }
        
        .dish-info-name {
            font-size: 24px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 12px;
        }
        
        .dish-info-rating {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
        }
        
        .dish-info-stars {
            color: #f39c12;
            font-size: 20px;
        }
        
        .dish-info-rating-num {
            color: #636e72;
            font-size: 14px;
            font-weight: 600;
        }
        
        .dish-info-category {
            background: #f8f9fa;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 14px;
            color: #636e72;
            margin-bottom: 12px;
            display: inline-block;
        }
        
        .dish-info-price {
            font-size: 20px;
            font-weight: 700;
            color: #27ae60;
            margin-bottom: 12px;
        }
        
        .dish-info-restaurant {
            font-size: 14px;
            color: #636e72;
            margin-bottom: 8px;
        }
        
        .dish-info-notes {
            font-style: italic;
            color: #636e72;
            padding: 12px;
            background: #f8f9fa;
            border-radius: 8px;
            margin-bottom: 12px;
        }
        
        .dish-info-date {
            font-size: 12px;
            color: #b2bec3;
            margin-bottom: 16px;
        }
        
        .dish-info-delete-btn {
            width: 100%;
            padding: 12px;
            background: #fff5f5;
            color: #e74c3c;
            border: 2px solid #e74c3c;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
        }

        .sidebar-header {
            padding: 24px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .sidebar-header h2 {
            font-size: 22px;
            font-weight: 700;
        }

        .sidebar-close {
            background: rgba(255,255,255,0.2);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .sidebar-close:hover {
            background: rgba(255,255,255,0.3);
        }

        .sidebar-content {
            padding: 24px;
            padding-bottom: 80px;
        }

        .sidebar-section {
            margin-bottom: 32px;
        }

        .sidebar-section h3 {
            font-size: 16px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid #e9ecef;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .sidebar-list {
            list-style: none;
        }

        .sidebar-item {
            padding: 12px 16px;
            margin-bottom: 8px;
            background: #f8f9fa;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            border: 2px solid transparent;
        }

        .sidebar-item:hover {
            background: #fff5f5;
            border-color: #ff6b6b;
            transform: translateX(-4px);
        }

        .sidebar-item-name {
            font-weight: 600;
            color: #2d3436;
            font-size: 14px;
            margin-bottom: 4px;
        }

        .sidebar-item-meta {
            font-size: 12px;
            color: #636e72;
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .cuisine-badge {
            display: inline-block;
            padding: 4px 10px;
            background: white;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 600;
            border: 2px solid #e9ecef;
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(45,52,54,0.4);
            backdrop-filter: blur(2px);
            z-index: 2999;
        }

        .sidebar-overlay.open {
            display: block;
        }

        .profile-section {
            padding: 24px;
            text-align: center;
            border-bottom: 2px solid #e9ecef;
        }

        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 12px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            border: 4px solid white;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .profile-name {
            font-size: 18px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 4px;
        }

        .profile-location {
            font-size: 13px;
            color: #636e72;
        }

        .profile-tabs {
            display: flex;
            gap: 8px;
            margin-top: 16px;
        }

        .profile-tab {
            flex: 1;
            padding: 10px 16px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
            color: #636e72;
            cursor: pointer;
            transition: all 0.2s;
        }

        .profile-tab.active {
            background: #27ae60;
            color: white;
            border-color: #27ae60;
        }

        .profile-tab:hover:not(.active) {
            background: white;
            border-color: #27ae60;
        }

        .review-cards {
            display: grid;
            gap: 16px;
        }

        .review-card {
            background: white;
            border: 2px solid #e9ecef;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.2s;
            cursor: pointer;
        }

        .review-card:hover {
            border-color: #ff6b6b;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }

        .review-card-image {
            width: 100%;
            height: 140px;
            object-fit: cover;
            background: #f8f9fa;
        }

        .review-card-content {
            padding: 12px;
        }

        .review-card-title {
            font-size: 14px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 4px;
        }

        .review-card-subtitle {
            font-size: 12px;
            color: #27ae60;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .review-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .review-card-rating {
            color: #ffd700;
            font-size: 14px;
        }

        .review-card-price {
            font-size: 14px;
            font-weight: 700;
            color: #2d3436;
        }

        .review-card-link {
            font-size: 12px;
            color: #27ae60;
            font-weight: 600;
            text-decoration: none;
        }

        .header-search {
            width: 100%;
        }

        .header-search input {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #e9ecef;
            border-radius: 16px;
            font-size: 15px;
            background: #f8f9fa;
            transition: all 0.2s;
        }

        .header-search input:focus {
            outline: none;
            border-color: #ff6b6b;
            background: white;
        }

        .filter-dropdown {
            padding: 10px 16px;
            border-radius: 16px;
            border: 2px solid #e9ecef;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            background: white;
            color: #2d3436;
            transition: all 0.2s;
        }

        .filter-dropdown:hover {
            border-color: #ff6b6b;
        }

        .add-btn {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 16px;
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(255,107,107,0.3);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .add-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(255,107,107,0.4);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(45,52,54,0.6);
            backdrop-filter: blur(4px);
            z-index: 2000;
            animation: fadeIn 0.3s;
        }

        /* Restaurant Detail Modal - Slide Up with Hero */
        .restaurant-detail-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 5000;
        }

        .restaurant-detail-modal.open {
            display: block;
        }

        .restaurant-detail-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            animation: fadeIn 0.3s;
        }

        .restaurant-detail-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-radius: 24px 24px 0 0;
            max-height: 90vh;
            overflow: hidden;
            animation: slideUp 0.3s ease-out;
            display: flex;
            flex-direction: column;
        }

        .restaurant-detail-hero {
            height: 200px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            position: relative;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .restaurant-detail-hero img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .restaurant-detail-hero-emoji {
            font-size: 80px;
            opacity: 0.9;
        }

        .restaurant-detail-hero-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
        }

        .restaurant-detail-hero-name {
            position: absolute;
            bottom: 16px;
            left: 20px;
            right: 100px;
            color: white;
            font-size: 24px;
            font-weight: 700;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

        .hero-photo-buttons {
            position: absolute;
            bottom: 16px;
            right: 16px;
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .hero-photo-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            background: rgba(255,255,255,0.95);
            font-size: 18px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-photo-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        .hero-photo-btn.add {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
        }

        .hero-photo-btn.gallery {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .hero-change-photo-btn,
        .hero-add-photo-btn {
            position: absolute;
            bottom: 16px;
            right: 16px;
            background: rgba(255,255,255,0.95);
            border: none;
            padding: 8px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            color: #2d3436;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            z-index: 10;
            transition: all 0.2s;
        }

        .hero-change-photo-btn:hover,
        .hero-add-photo-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        .hero-add-photo-btn {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
        }

        .restaurant-detail-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.9);
            border: none;
            font-size: 24px;
            color: #2d3436;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        .restaurant-detail-body {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            padding-bottom: 100px;
        }

        .restaurant-detail-body::-webkit-scrollbar {
            width: 0;
            display: none;
        }

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

        @keyframes slideUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }

        @keyframes slideUpCentered {
            from { transform: translateX(-50%) translateY(100%); }
            to { transform: translateX(-50%) translateY(0); }
        }

        .modal-content {
            position: absolute;
            bottom: 70px;
            left: 0;
            right: 0;
            background: white;
            border-radius: 32px 32px 0 0;
            padding: 28px 24px 40px 24px;
            max-height: calc(90vh - 70px);
            overflow-y: auto;
            overflow-x: hidden;
            animation: slideUp 0.3s ease-out;
            -webkit-overflow-scrolling: touch;
            width: 100%;
            max-width: 100vw;
        }

        .modal-content::-webkit-scrollbar {
            width: 0;
            display: none;
        }

        .modal-content {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        @media (min-width: 768px) {
            .modal-content {
                bottom: 70px;
                top: auto;
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                border-radius: 32px 32px 0 0;
                max-width: 540px;
                width: 90%;
                animation: slideUpCentered 0.3s ease-out forwards;
                max-height: calc(90vh - 70px);
            }
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .modal-header h2 {
            font-size: 24px;
            color: #2d3436;
            font-weight: 700;
        }

        .close-btn {
            background: #f1f3f5;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            color: #636e72;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-btn:hover {
            background: #e9ecef;
            transform: rotate(90deg);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #2d3436;
            font-size: 14px;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #e9ecef;
            border-radius: 16px;
            font-size: 15px;
            font-family: inherit;
            transition: all 0.2s;
            background: #f8f9fa;
        }

        .form-group select {
            height: 52px;
            appearance: none;
            -webkit-appearance: none;
            -moz-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='%23636e72' 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 14px center;
            background-size: 18px;
            padding-right: 45px;
            cursor: pointer;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #ff6b6b;
            background: white;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .rating-group {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            margin-bottom: 20px;
        }

        @media (min-width: 400px) {
            .rating-group {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }
        }

        .rating-item {
            background: #f8f9fa;
            padding: 12px;
            border-radius: 16px;
            border: 2px solid #e9ecef;
        }

        .rating-item label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2d3436;
            font-size: 13px;
            text-align: center;
        }

        .stars {
            display: flex;
            gap: 4px;
            justify-content: center;
            flex-wrap: nowrap;
        }

        .star {
            font-size: 24px;
            cursor: pointer;
            color: #dfe6e9;
            transition: all 0.2s;
        }

        @media (min-width: 400px) {
            .star {
                font-size: 28px;
                gap: 6px;
            }
        }

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

        .star:active {
            transform: scale(0.95);
        }

        .autocomplete-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 2px solid #e9ecef;
            border-top: none;
            border-radius: 0 0 12px 12px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .autocomplete-results.show {
            display: block;
        }

        .autocomplete-item {
            padding: 12px 16px;
            cursor: pointer;
            border-bottom: 1px solid #f1f3f5;
            transition: background 0.2s;
        }

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

        .autocomplete-item:hover {
            background: #f8f9fa;
        }

        .autocomplete-item .name {
            font-weight: 600;
            color: #2d3436;
            font-size: 14px;
        }

        .autocomplete-item .address {
            font-size: 12px;
            color: #636e72;
            margin-top: 2px;
        }

        .autocomplete-item .type {
            font-size: 11px;
            color: #00b894;
            margin-top: 2px;
        }

        .autocomplete-loading {
            padding: 12px 16px;
            text-align: center;
            color: #636e72;
            font-size: 13px;
        }

        .add-choice-btn {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.2s;
            text-align: left;
            width: 100%;
        }

        .add-choice-btn:hover {
            background: #fff5f5;
            border-color: #ff6b6b;
        }

        .add-choice-btn:active {
            transform: scale(0.98);
        }

        .add-choice-icon {
            font-size: 32px;
        }

        .add-choice-text {
            flex: 1;
        }

        .add-choice-title {
            font-weight: 700;
            font-size: 16px;
            color: #2d3436;
        }

        .add-choice-desc {
            font-size: 13px;
            color: #636e72;
            margin-top: 2px;
        }

        .food-photo-section {
            background: #f8f9fa;
            border-radius: 16px;
            padding: 16px;
            border: 2px dashed #dfe6e9;
        }

        .food-photo-preview {
            width: 100%;
            height: 160px;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 12px;
            background: #e9ecef;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .food-photo-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .food-photo-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: #b2bec3;
            font-size: 13px;
            width: 100%;
            height: 100%;
            background: #f1f3f5;
        }

        .food-photo-empty span:first-child {
            font-size: 32px;
        }

        /* Universal image placeholder */
        .img-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f1f3f5;
            width: 100%;
            height: 100%;
        }
        .img-placeholder svg {
            width: 48px;
            height: 48px;
            opacity: 0.35;
        }

        .food-photo-buttons {
            display: flex;
            gap: 8px;
        }

        .food-photo-btn {
            flex: 1;
            padding: 10px 12px;
            border-radius: 10px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.2s;
            border: none;
        }

        .food-photo-btn.camera {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
        }

        .food-photo-btn.gallery {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .food-photo-btn.remove {
            background: #e9ecef;
            color: #636e72;
            flex: 0.5;
        }

        .food-photo-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* Location Picker Button */
        .location-picker-btn {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .location-picker-btn:hover {
            border-color: #ff6b6b;
            background: #fff5f5;
        }

        .location-picker-btn.has-location {
            border-color: #27ae60;
            background: #f0fff4;
        }

        .location-picker-icon {
            font-size: 24px;
        }

        .location-picker-text {
            flex: 1;
            font-size: 14px;
            color: #636e72;
        }

        .location-picker-btn.has-location .location-picker-text {
            color: #27ae60;
            font-weight: 600;
        }

        .location-picker-arrow {
            font-size: 20px;
            color: #999;
        }

        /* Location Picker Modal */
        .location-picker-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: white;
            z-index: 8000;
            flex-direction: column;
        }

        .location-picker-modal.open {
            display: flex;
        }

        .location-picker-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            background: white;
            border-bottom: 1px solid #e9ecef;
            z-index: 10;
        }

        .location-picker-header h2 {
            font-size: 18px;
            font-weight: 700;
            color: #2d3436;
        }

        .location-picker-back {
            background: none;
            border: none;
            font-size: 24px;
            color: #636e72;
            cursor: pointer;
            padding: 4px;
        }

        .location-picker-confirm {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
        }

        .location-picker-confirm:disabled {
            background: #dfe6e9;
            color: #999;
        }

        .location-picker-search {
            padding: 12px 20px;
            background: white;
            border-bottom: 1px solid #e9ecef;
        }

        .location-picker-search input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            font-size: 14px;
            background: #f8f9fa;
        }

        .location-picker-search input:focus {
            outline: none;
            border-color: #ff6b6b;
            background: white;
        }

        .location-picker-map {
            flex: 1;
            width: 100%;
        }

        .location-picker-instructions {
            padding: 12px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-align: center;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .submit-btn {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            padding: 16px 32px;
            border-radius: 16px;
            font-weight: 700;
            font-size: 16px;
            cursor: pointer;
            width: 100%;
            margin-top: 12px;
            box-shadow: 0 6px 20px rgba(255,107,107,0.3);
            transition: all 0.2s;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255,107,107,0.4);
        }

        .delete-btn {
            background: #ff6b6b;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            margin-top: 16px;
            width: 100%;
            transition: all 0.2s;
        }

        .delete-btn:hover {
            background: #ff5252;
        }

        .restaurant-info {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 20px;
            margin-bottom: 20px;
        }

        .restaurant-info h3 {
            font-size: 22px;
            margin-bottom: 16px;
            color: #2d3436;
            font-weight: 700;
        }

        .info-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #e9ecef;
        }

        .info-row:last-child {
            border-bottom: none;
        }

        .info-label {
            font-weight: 600;
            color: #636e72;
            font-size: 14px;
        }

        .info-value {
            color: #2d3436;
            font-size: 14px;
            font-weight: 600;
        }

        .rating-stars {
            color: #ffd700;
        }

        .notes-section {
            background: white;
            border: 2px solid #e9ecef;
            padding: 20px;
            border-radius: 20px;
            margin-top: 16px;
        }

        .notes-section h4 {
            font-size: 13px;
            color: #636e72;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 700;
        }

        .notes-section p {
            color: #2d3436;
            line-height: 1.6;
            font-size: 14px;
        }

        .demo-btn {
            position: absolute;
            bottom: 130px;
            right: 24px;
            background: white;
            color: #ff6b6b;
            border: none;
            padding: 16px 24px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
            z-index: 1000;
            transition: all 0.2s;
        }

        .demo-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(0,0,0,0.15);
        }

        .floating-add-btn {
            position: absolute;
            bottom: 130px;
            left: 24px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            padding: 16px 24px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(255,107,107,0.4);
            z-index: 1000;
            transition: all 0.2s;
            display: none;
        }

        .floating-add-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(255,107,107,0.5);
        }

        .floating-add-btn.show {
            display: block;
        }

        @media (max-width: 768px) {
            .demo-btn {
                bottom: 130px;
            }

            .floating-add-btn {
                bottom: 130px;
            }
        }

        .pin-options {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 16px;
            margin: 20px 0;
        }

        .pin-option {
            border: 3px solid #e9ecef;
            border-radius: 20px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            background: #f8f9fa;
        }

        .pin-option:hover {
            border-color: #ff6b6b;
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(255,107,107,0.2);
            background: white;
        }

        .pin-option.selected {
            border-color: #ff6b6b;
            background: #fff5f5;
        }

        .pin-preview {
            font-size: 48px;
            margin-bottom: 10px;
        }

        .pin-name {
            font-weight: 700;
            font-size: 13px;
            color: #2d3436;
            margin-bottom: 4px;
        }

        .pin-desc {
            font-size: 11px;
            color: #636e72;
        }

        .apply-btn {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            padding: 14px 28px;
            border-radius: 16px;
            font-weight: 700;
            font-size: 15px;
            cursor: pointer;
            width: 100%;
            margin-top: 20px;
            box-shadow: 0 6px 20px rgba(255,107,107,0.3);
            transition: all 0.2s;
        }

        .apply-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255,107,107,0.4);
        }

        .popup-content {
            padding: 4px;
        }

        .popup-name {
            font-weight: 700;
            font-size: 16px;
            margin-bottom: 8px;
            color: #2d3436;
        }

        .popup-rating {
            font-size: 13px;
            color: #636e72;
            margin-bottom: 6px;
        }

        .popup-rating .stars {
            color: #ffd700;
            display: inline;
        }

        .view-details-btn {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 13px;
            cursor: pointer;
            margin-top: 10px;
            width: 100%;
            transition: all 0.2s;
        }

        .view-details-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255,107,107,0.3);
        }

        .leaflet-popup-content-wrapper {
            border-radius: 16px !important;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
        }

        .leaflet-popup-tip {
            display: none;
        }

        .bottom-nav {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background: white;
            display: flex;
            justify-content: space-around;
            align-items: flex-end;
            padding: 14px 12px max(14px, env(safe-area-inset-bottom));
            box-shadow: 0 4px 24px rgba(0,0,0,0.12);
            z-index: 3500;
            border-radius: 24px;
        }

        /* Universal bottom clearance so content never hides behind the bottom nav */
        .restaurants-list-view,
        .settings-content,
        .groups-list-content,
        .sidebar-content,
        .restaurant-detail-body,
        .dish-detail-content,
        .auth-screen {
            padding-bottom: calc(30px + env(safe-area-inset-bottom)) !important;
        }

        /* Position scale above bottom nav */
        .leaflet-control-scale {
            margin-bottom: 50px !important;
            margin-left: 10px !important;
        }
        
        .leaflet-control-scale-line {
            background: rgba(255, 255, 255, 0.9) !important;
            border: 2px solid #2d3436 !important;
            border-top: none !important;
            padding: 2px 8px !important;
            font-size: 11px !important;
            font-weight: 600 !important;
            color: #2d3436 !important;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
            border-radius: 0 0 4px 4px !important;
        }

        .bottom-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            padding: 8px 12px;
            cursor: pointer;
            transition: all 0.2s;
            background: transparent;
            border: none;
            flex: 1;
            position: relative;
        }

        .bottom-nav-item:active {
            transform: scale(0.95);
        }

        .bottom-nav-item.active::after {
            display: none;
        }

        .bottom-nav-icon {
            width: 26px;
            height: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .bottom-nav-icon svg {
            width: 100%;
            height: 100%;
            stroke: #b2bec3;
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .bottom-nav-item.active .bottom-nav-icon svg {
            stroke: #ff6b6b;
        }

        /* For filled icons like pizza */
        .bottom-nav-icon svg .filled {
            fill: #b2bec3;
            stroke: none;
        }

        .bottom-nav-item.active .bottom-nav-icon svg .filled {
            fill: #ff6b6b;
        }

        .bottom-nav-label {
            font-size: 10px;
            color: #b2bec3;
            font-weight: 500;
            transition: all 0.2s;
        }

        .bottom-nav-item.active .bottom-nav-label {
            color: #ff6b6b;
        }

        /* Center raised button (Add) */
        .bottom-nav-item.center-btn {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: -35px;
            flex: 0;
            padding: 0;
        }

        .bottom-nav-item.center-btn .bottom-nav-icon {
            width: 58px;
            height: 58px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
        }

        .bottom-nav-item.center-btn .bottom-nav-icon svg {
            width: 28px;
            height: 28px;
            stroke: white;
            stroke-width: 2.5;
        }

        .bottom-nav-item.center-btn:active .bottom-nav-icon {
            transform: scale(0.95);
            box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
        }

        .bottom-nav-item.center-btn .bottom-nav-label {
            display: none;
        }

        .bottom-nav-item.center-btn::after {
            display: none;
        }

        /* ==================== AUTH SCREENS ==================== */
        .auth-screen {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
        }

        .auth-screen.hidden {
            display: none;
        }

        .auth-screen.visible {
            opacity: 1;
            visibility: visible;
        }

        .login-screen {
            background: #f5f7fa;
            flex-direction: column;
        }

        .login-banner {
            width: 100%;
            height: 45vh;
            min-height: 200px;
            max-height: 350px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .login-banner svg {
            width: 100%;
            height: 100%;
        }

        .login-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px;
            color: #2d3436;
        }

        .login-logo {
            font-size: 48px;
            margin-bottom: 12px;
        }

        .login-title {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 6px;
            color: #2d3436;
        }

        .login-subtitle {
            font-size: 14px;
            color: #636e72;
        }

        .login-buttons {
            background: white;
            border-radius: 24px 24px 0 0;
            padding: 28px 24px calc(40px + env(safe-area-inset-bottom));
            box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
            margin-top: auto;
            flex-shrink: 0;
        }

        .login-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
            padding: 16px;
            border-radius: 16px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            margin-bottom: 12px;
            transition: all 0.2s;
            font-family: inherit;
        }

        .login-btn-google {
            background: white;
            border: 2px solid #e9ecef;
            color: #2d3436;
        }

        .login-btn-google:hover {
            border-color: #ff6b6b;
            background: #fff5f5;
        }

        .login-btn-apple {
            background: #000;
            border: none;
            color: white;
        }

        .login-btn-apple:hover {
            background: #2d3436;
        }

        .login-divider {
            text-align: center;
            color: #636e72;
            font-size: 13px;
            margin: 16px 0;
            position: relative;
        }

        .login-divider::before,
        .login-divider::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 40%;
            height: 1px;
            background: #e9ecef;
        }

        .login-divider::before { left: 0; }
        .login-divider::after { right: 0; }

        .login-btn-primary {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            border: none;
            color: white;
        }

        .login-btn-primary:hover {
            background: linear-gradient(135deg, #ff5252 0%, #ff6b6b 100%);
            transform: translateY(-1px);
        }

        .login-btn-secondary {
            background: transparent;
            border: 2px solid #e9ecef;
            color: #636e72;
        }

        .login-btn-secondary:hover {
            border-color: #ff6b6b;
            color: #ff6b6b;
        }

        .login-form-group {
            margin-bottom: 12px;
        }

        .login-input {
            width: 100%;
            padding: 16px;
            border: 2px solid #e9ecef;
            border-radius: 16px;
            font-size: 15px;
            font-family: inherit;
            background: #f8f9fa;
            transition: all 0.2s;
        }

        .login-input:focus {
            outline: none;
            border-color: #ff6b6b;
            background: white;
        }

        .login-input::placeholder {
            color: #adb5bd;
        }

        .login-error {
            color: #e74c3c;
            font-size: 13px;
            text-align: center;
            margin-bottom: 12px;
            min-height: 18px;
        }

        /* Empty State Screen */
        .empty-state-screen {
            background: #f5f7fa;
        }

        .empty-header {
            background: white;
            padding: 20px;
            border-bottom: 1px solid #e9ecef;
        }

        .empty-header-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .empty-title {
            font-size: 24px;
            font-weight: 700;
            color: #2d3436;
        }

        .empty-subtitle {
            font-size: 13px;
            color: #636e72;
            margin-top: 4px;
        }

        .empty-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 24px;
            text-align: center;
        }

        .empty-icon {
            font-size: 72px;
            margin-bottom: 24px;
        }

        .empty-content-title {
            font-size: 22px;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 12px;
        }

        .empty-content-text {
            font-size: 15px;
            color: #636e72;
            margin-bottom: 32px;
            line-height: 1.5;
        }

        .empty-btn-primary {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            padding: 16px 32px;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(255,107,107,0.3);
            transition: all 0.2s;
            font-family: inherit;
            margin-bottom: 14px;
        }

        .empty-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(255,107,107,0.4);
        }

        .empty-btn-secondary {
            background: white;
            color: #2d3436;
            border: 2px solid #e9ecef;
            padding: 16px 32px;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-family: inherit;
        }

        .empty-btn-secondary:hover {
            border-color: #ff6b6b;
            background: #fff5f5;
        }

        .empty-bottom-nav {
            background: white;
            display: flex;
            justify-content: space-around;
            padding: 12px 0 max(12px, env(safe-area-inset-bottom));
            box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
            border-top: 1px solid #e9ecef;
        }

        .empty-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            padding: 8px 16px;
            background: transparent;
            border: none;
            cursor: pointer;
            font-family: inherit;
        }

        .empty-nav-item.active {
            background: #fff5f5;
            border-radius: 12px;
        }

        .empty-nav-icon {
            font-size: 24px;
        }

        .empty-nav-item.active .empty-nav-icon {
            transform: scale(1.2);
        }

        .empty-nav-label {
            font-size: 11px;
            font-weight: 600;
            color: #636e72;
        }

        .empty-nav-item.active .empty-nav-label {
            color: #ff6b6b;
        }

        /* ==================== FORM SCREENS (Create/Join) ==================== */
        .form-screen {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 9999;
            background: #f5f7fa;
            display: none;
            flex-direction: column;
        }

        .form-screen.visible {
            display: flex;
        }

        .form-header {
            background: white;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 16px;
            border-bottom: 1px solid #e9ecef;
        }

        .form-back-btn {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            border: 2px solid #e9ecef;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.2s;
            color: #ff6b6b;
        }

        .form-back-btn:hover {
            border-color: #ff6b6b;
            background: #fff5f5;
        }

        .form-title {
            font-size: 18px;
            font-weight: 700;
            color: #2d3436;
        }

        .form-content {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-label {
            font-size: 14px;
            font-weight: 600;
            color: #636e72;
            margin-bottom: 10px;
            display: block;
        }

        .form-input {
            width: 100%;
            padding: 16px 18px;
            border: 2px solid #e9ecef;
            border-radius: 16px;
            font-size: 16px;
            background: white;
            transition: all 0.2s;
            font-family: inherit;
        }

        .form-input:focus {
            outline: none;
            border-color: #ff6b6b;
        }

        .form-input::placeholder {
            color: #b2bec3;
        }

        .form-input-code {
            text-align: center;
            font-size: 32px;
            letter-spacing: 10px;
            font-family: monospace;
            font-weight: 700;
        }

        .form-hint {
            text-align: center;
            color: #636e72;
            font-size: 14px;
            margin: 24px 0;
            line-height: 1.5;
        }

        .form-submit-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(255,107,107,0.3);
            transition: all 0.2s;
            font-family: inherit;
        }

        .form-submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(255,107,107,0.4);
        }

        /* Photo Picker */
        .photo-picker {
            display: flex;
            gap: 12px;
        }

        .photo-option {
            flex: 1;
            height: 100px;
            border-radius: 16px;
            border: 2px dashed #e9ecef;
            background: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .photo-option:hover {
            border-color: #ff6b6b;
            background: #fff5f5;
        }

        .photo-option-icon {
            font-size: 28px;
        }

        .photo-option-text {
            font-size: 12px;
            font-weight: 600;
            color: #636e72;
        }

        .photo-preview {
            width: 100px;
            height: 100px;
            border-radius: 16px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            margin-right: 12px;
            flex-shrink: 0;
        }

        /* ==================== GROUPS LIST SCREEN ==================== */
        .groups-list-screen {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 9999;
            background: #f5f7fa;
            display: none;
            flex-direction: column;
        }

        .groups-list-screen.visible {
            display: flex;
        }

        .groups-header {
            background: white;
            padding: 20px;
            border-bottom: 1px solid #e9ecef;
        }

        .groups-header-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .groups-title {
            font-size: 24px;
            font-weight: 700;
            color: #2d3436;
        }

        .groups-subtitle {
            font-size: 13px;
            color: #636e72;
            margin-top: 4px;
        }

        .groups-list-content {
            flex: 1;
            padding: 16px;
            overflow-y: auto;
            padding-bottom: 100px;
        }

        .group-card {
            background: white;
            border-radius: 20px;
            padding: 16px;
            margin-bottom: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            cursor: pointer;
            transition: all 0.2s;
            border: 2px solid transparent;
        }

        .group-card:hover {
            border-color: #ff6b6b;
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }

        .group-card-header {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .group-avatar {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            box-shadow: 0 4px 12px rgba(255,107,107,0.3);
        }

        .group-info {
            flex: 1;
        }

        .group-name {
            font-size: 17px;
            font-weight: 700;
            color: #2d3436;
        }

        .group-meta {
            font-size: 13px;
            color: #636e72;
            margin-top: 4px;
        }

        .group-arrow {
            color: #dfe6e9;
            font-size: 24px;
        }

        .group-stats {
            display: flex;
            gap: 20px;
            margin-top: 14px;
            padding-top: 14px;
            border-top: 1px solid #f1f3f5;
        }

        .group-stat {
            font-size: 13px;
            color: #636e72;
        }

        .group-stat-value {
            font-weight: 700;
            color: #2d3436;
        }

        .groups-fab-btn {
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            border-radius: 16px;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: white;
            cursor: pointer;
            box-shadow: 0 4px 16px rgba(255,107,107,0.4);
            transition: all 0.2s;
            z-index: 10000;
        }

        .groups-fab-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255,107,107,0.5);
        }

        /* Main app container */
        /* ==================== SPLASH SCREEN ==================== */
        .splash-screen {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #fff9f8;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
            transition: opacity 0.5s ease-out;
        }

        .splash-screen.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .splash-full-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .splash-waves {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .splash-wave {
            height: 26px;
            width: 190px;
            opacity: 0;
            animation: splashSlideIn 0.6s ease-out forwards;
        }

        .splash-wave:nth-child(1) {
            animation-delay: 0.1s;
            transform: translateX(-30px);
        }
        .splash-wave:nth-child(2) {
            animation-delay: 0.25s;
            transform: translateX(-20px);
        }
        .splash-wave:nth-child(3) {
            animation-delay: 0.4s;
            transform: translateX(-10px);
        }
        .splash-wave:nth-child(4) {
            animation-delay: 0.55s;
            transform: translateX(0px);
        }

        @keyframes splashSlideIn {
            0% {
                opacity: 0;
                transform: translateX(-40px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .splash-logo-text {
            font-size: 44px;
            font-weight: 600;
            color: #3d6a8a;
            letter-spacing: 2px;
            margin-top: 12px;
            opacity: 0;
            animation: splashFadeIn 0.8s ease-out 0.8s forwards;
        }

        @keyframes splashFadeIn {
            0% {
                opacity: 0;
                transform: translateY(10px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .main-app {
            display: none;
        }

        .main-app.visible {
            display: block;
        }

