        :root {
            --bg-color: #f2f2f7;
            --card-bg: #ffffff;
            --text-main: #1c1c1e;
            --text-muted: #8e8e93;
            --primary: #007aff;
            --border: #e5e5ea;
            --radius: 12px;
            --shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        body { 
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
            background: var(--bg-color); 
            color: var(--text-main); 
            margin: 0; 
            padding: 20px; 
            line-height: 1.5;
        }

        .container { max-width: 1000px; margin: 0 auto; }

        /* Admin Bar */
        .admin-bar { display: flex; justify-content: flex-end; margin-bottom: 10px; font-size: 0.85rem; }
        .admin-bar a { color: var(--primary); text-decoration: none; font-weight: 500; }
        
        .header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px;}
        h1 { margin: 0; font-size: 1.8rem; }

        .btn-new-request {
            background: var(--primary); color: white; border: none; padding: 10px 20px; border-radius: 20px; font-size: 1rem; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3); transition: background 0.2s;
        }
        .btn-new-request:hover { background: #005bb5; }

        /* Horní ukazatele (Dashboard) */
        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
        .stat-card { background: var(--card-bg); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 20px; }
        .stat-icon { font-size: 2.5rem; line-height: 1; }
        .stat-info { display: flex; flex-direction: column; }
        .stat-title { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; font-weight: bold; margin-bottom: 5px; }
        .stat-value { font-size: 1.5rem; font-weight: bold; color: var(--text-main); margin-bottom: 2px; }
        .stat-sub { font-size: 0.85rem; color: var(--text-muted); }

        /* Kontejner formuláře - pro slide efekt */
        #form-wrapper { max-height: 0; overflow: hidden; transition: max-height 0.6s ease-in-out, margin 0.6s ease-in-out; margin-bottom: 0; }
        #form-wrapper.open { max-height: 2500px; margin-bottom: 30px; overflow: visible; }

        .card { background: var(--card-bg); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
        .section-title { font-size: 1.1rem; font-weight: 600; margin-top: 0; border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 20px; }

        /* Formulář */
        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 15px; }
        @media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
        
        .form-group { margin-bottom: 15px; }
        label { display: block; font-weight: 600; font-size: 0.75rem; margin-bottom: 6px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
        input[type="text"], input[type="email"], input[type="date"], input[type="password"], select, textarea { 
            width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; box-sizing: border-box; background: #fafafa; transition: all 0.2s; font-family: inherit;
        }
        input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15); }

        .radio-group { display: flex; gap: 15px; }
        .radio-group label { display: flex; align-items: center; gap: 5px; text-transform: none; font-size: 0.95rem; font-weight: normal; color: var(--text-main); }

        /* Hvězdičkové hodnocení */
        .star-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
        .star-rating-input input { display: none; }
        .star-rating-input label { cursor: pointer; width: 24px; height: 24px; font-size: 24px; color: #ddd; transition: color 0.2s; line-height: 1; }
        .star-rating-input label::before { content: '★'; }
        .star-rating-input input:checked ~ label, .star-rating-input label:hover, .star-rating-input label:hover ~ label { color: #ffcc00; }
        .star-rating-input .half::before { content: '★'; position: absolute; width: 12px; overflow: hidden; }
        .star-rating-input .half { position: relative; width: 12px; margin-right: -12px; }

        /* Zvětšené hvězdičky a procenta v archivu */
        .stars-display { color: #ffcc00; font-size: 1.5rem; margin-bottom: 15px; display: flex; align-items: center; gap: 2px; line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
        .stars-percent { font-size: 1.1rem; color: #555; margin-left: 10px; font-weight: bold; text-shadow: none; }

        .btn-submit { background: var(--primary); color: white; border: none; padding: 14px 24px; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; width: 100%; transition: opacity 0.2s; }
        .btn-submit:hover { opacity: 0.9; }

        /* Záložky archivu */
        .tabs { display: flex; gap: 10px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 5px; }
        .tab-link { padding: 8px 16px; background: var(--card-bg); border-radius: 20px; text-decoration: none; color: var(--text-main); font-weight: 500; box-shadow: var(--shadow); border: 1px solid var(--border); white-space: nowrap; font-size: 0.9rem; }
        .tab-link.active-modra { background: var(--primary); color: white; border-color: var(--primary); }
        .tab-link.active-oranzova { background: #ff9500; color: white; border-color: #ff9500; }
        .tab-link.active-cervena { background: #ff3b30; color: white; border-color: #ff3b30; }

        /* GRID PRO ARCHIV */
        #archiv { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 20px; }
        @media (max-width: 600px) { #archiv { grid-template-columns: 1fr; } }

        /* Karta hodnocení */
        .review-card { position: relative; border-left: 6px solid var(--border); display: flex; flex-direction: column; margin-bottom: 0; }
        .review-card.pozitivni { border-left-color: #34c759; }
        .review-card.neutralni { border-left-color: #ff9500; }
        .review-card.negativni { border-left-color: #ff3b30; }
        
        .review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
        .review-name { font-weight: 700; font-size: 1.1rem; }
        
        .badge { padding: 4px 10px; border-radius: 12px; color: white; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; }
        .badge-pozitivni { background: #34c759; }
        .badge-neutralni { background: #ff9500; }
        .badge-negativni { background: #ff3b30; }

        .contact-info { font-size: 0.85rem; color: #666; margin-bottom: 15px; display: flex; gap: 10px; flex-wrap: wrap; }
        
        .visit-details { background: #f8f9fa; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
        .visit-details-title { font-size: 0.75rem; color: var(--text-muted); font-weight: bold; text-transform: uppercase; margin-bottom: 5px; }
        .visit-details-content { font-size: 0.95rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }

        /* --- MESSENGER CHAT STYLY --- */
        .chat-container { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
        .chat-message { display: flex; width: 100%; }
        .message-guest { justify-content: flex-start; }
        .message-bistro { justify-content: flex-end; }
        
        .bubble { padding: 12px 16px; max-width: 85%; font-size: 0.95rem; line-height: 1.4; word-wrap: break-word; }
        
        .bubble-guest { background-color: #e4e6eb; color: #050505; border-radius: 18px 18px 18px 4px; }
        .bubble-bistro { background-color: #0084ff; color: #ffffff; border-radius: 18px 18px 4px 18px; }

        /* Původní dokonalé formátování pro foto */
        .foto { 
            max-width: 85%; 
            height: auto; 
            border-radius: 18px; 
            max-height: 200px; 
            object-fit: cover; 
            cursor: zoom-in;
            transition: opacity 0.2s;
        }
        .foto:hover { opacity: 0.85; }

        /* Lightbox */
        #lightbox { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; cursor: zoom-out; }
        #lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
        
        .review-footer { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); margin-top: auto; margin-bottom: 15px; }

        /* Stránkování */
        .pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
        .pagination a, .pagination span { display: inline-flex; justify-content: center; align-items: center; min-width: 36px; height: 36px; padding: 0 10px; background: var(--card-bg); border-radius: 8px; text-decoration: none; color: var(--text-main); border: 1px solid var(--border); font-weight: 500; }
        .pagination a:hover { background: #f0f0f0; }
        .pagination .active { background: var(--primary); color: white; border-color: var(--primary); }