  :root {
            --primary-bg: #0f172a;
            --secondary-bg: #1e293b;
            --accent-blue: #3b82f6;
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --border-color: #334155;
        }

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

           body {
            color: var(--text-primary);
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            line-height: 1.6;
            --base-color: #0f172a;
  --snow-color: rgba(255, 255, 255, 0.9);
  
  height: 100vh;
  background-color: var(--base-color);
  background-image: 
    radial-gradient(circle, var(--snow-color) 0.5px, transparent 1px),
    radial-gradient(circle, var(--snow-color) 0.7px, transparent 1.5px),
    radial-gradient(circle, var(--snow-color) 1px, transparent 2px);
  
  background-size: 
    50px 50px,
    80px 80px,
    120px 120px;
  
  animation: snowFall 20s linear infinite;
}

@keyframes body {
  100% {
    background-position: 
      50px 100vh, 
      80px 200vh,
      120px 300vh;
  }
        
        }

        body.no-scroll {
            overflow: hidden;
            height: 100vh;
            width: 100vw;
        }

.menu-item {
    text-decoration: none;
    color: inherit;
}

.menu-item:hover {
    text-decoration: none;
    color: inherit;
}
        header {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem 2rem;
            background-color: var(--secondary-bg);
            border-bottom: 1px solid var(--border-color);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
        }

        .logo {
            font-size: 17px;
            font-weight: bold;
            flex: 1;
        }

        .menu-toggle {
            position: fixed;
            left: 1rem;
            top: 1rem;
            background: var(--secondary-bg);
            border: none;
            color: var(--text-primary);
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            cursor: pointer;
            z-index: 1001;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sidebar {
            width: 240px;
            height: 100vh;
            position: fixed;
            left: -260px;
            top: 0;
            background: var(--primary-bg);
            border-right: 1px solid var(--border-color);
            transition: 0.3s;
            z-index: 1000;
            overflow-y: auto;
            padding-top: 80px;
        }

        .sidebar.active {
            left: 0;
        }

        .fa-classic, .fa-regular, .fa-solid, .far, .fas {
    font-family: "Font Awesome 6 Free";
    color:  #003eff;
}
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            z-index: 999;
            display: none;
            transition: 0.3s;
        }

        .sidebar.active ~ .overlay {
            display: block;
        }

        .sidebar-header {
            padding: 1rem;
            position: sticky;
            top: 0;
            background: var(--primary-bg);
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 10px;
        }

        .sidebar-header img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

        .sidebar-menu {
            padding: 0.5rem;
        }

        .menu-item {
            padding: 0.75rem;
            margin: 0.25rem 0;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .menu-item:hover {
            background: var(--secondary-bg);
        }

        .menu-item i {
            font-size: 1.2rem;
        }

        .main-content {
            flex: 1;
            padding: 2rem;
            margin-left: 0;
            transition: 0.3s;
            margin-top: 44px;
        }

        .container {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            position: relative;
            top: -3px;
        }

        .dashboard-grid {
            display: block;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            padding-left: 1px;
            margin: 0 auto;
        }

        .table-header {
            padding: 1rem 0;
    margin-bottom: 1rem;
        }

        .table-title {
            color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
        }

        .table-container {
            background: var(--secondary-bg);
    padding: 1rem;
    overflow-x: auto;
    margin-top: 0;
        }

        .dashboard-table {
            width: 100%;
            border-collapse: collapse;
            background: var(--secondary-bg);
        }

        .dashboard-table th,
        .dashboard-table td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        .dashboard-table th {
            background: var(--primary-bg);
            color: var(--text-primary);
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.85rem;
        }

        .dashboard-table tr:hover {
            background: rgba(255, 255, 255, 0.03);
        }

        .status {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.25rem 0.75rem;
            border-radius: 1rem;
            font-size: 0.9rem;
        }

        .status.active {
            color: #10b981;
            background: rgba(16, 185, 129, 0.1);
        }

        .status.maintenance {
            color: #f59e0b;
            background: rgba(245, 158, 11, 0.1);
        }

        .btn-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: none;
            background: none;
            color: var(--text-secondary);
            cursor: pointer;
            padding: 0.75rem;
            border-radius: 0.5rem;
            transition: all 0.2s;
            text-decoration: none;
        }

        .btn-action:hover {
            color: var(--accent-blue);
            background: rgba(59, 130, 246, 0.1);
            transform: translateY(-1px);
        }

        footer {
            margin-top: auto;
            text-align: center;
            padding: 1rem;
            background: var(--secondary-bg);
            border-top: 1px solid var(--border-color);
        }

        footer p {
            color: var(--text-secondary);
        }

        @media (max-width: 768px) {
            .sidebar {
                width: 70%;
                left: -70%;
            }

            .sidebar-header {
                padding: 0.75rem;
            }

            .menu-item {
                padding: 0.5rem;
                font-size: 0.9rem;
            }

            .menu-item i {
                font-size: 1rem;
            }

            .main-content {
                padding-left: 1px;
            }

            .dashboard-grid {
                margin-left: 1.9rem;
            }

            .overlay {
                backdrop-filter: blur(3px);
            }

            .sidebar.active {
                left: 0;
                box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
            }
        }

        @media (max-width: 480px) {
            .sidebar {
                width: 169px;
                left: -85%;
            }
        }
        .table-container {
        position: relative;
        overflow-x: auto;
        scroll-behavior: smooth;

        margin: -7px;
        -webkit-overflow-scrolling: touch;
    }

    .scroll-indicator {
   
  
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--secondary-bg);
    
    display: flex !important;
    align-items: center;
   
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000px;
    transition: all 0.3s;
}

    .scroll-indicator.left {
        left: -20px;
    }

    .scroll-indicator.right {
        right: -20px;
    }

    .table-container:hover .scroll-indicator {
        display: flex;
    }

    .scroll-indicator:hover {
        background: var(--accent-blue);
        color: white;
    }

    .table-container::-webkit-scrollbar {
        height: 8px;
    }

    .table-container::-webkit-scrollbar-track {
        background: var(--primary-bg);
    }

    .table-container::-webkit-scrollbar-thumb {
        background: var(--accent-blue);
        border-radius: 4px;
    }

    .table-container::after {
        content: '';
        position: absolute;
        top: 0;
        right: -30px;
        bottom: 0;
        width: -7px;
        background: linear-gradient(90deg, transparent 0%, var(--secondary-bg) 100%);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .table-container.scroll-start::after {
        opacity: 1;
    }

.dashboard-table {
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dashboard-table th {
    background-color: var(--primary-bg);
    border-bottom: 2px solid var(--accent-blue);
    position: sticky;
    top: 0;
    z-index: 2;
}

.dashboard-table td {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

.dashboard-table th:not(:last-child),
.dashboard-table td:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.dashboard-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

.dashboard-table tr:hover {
    background-color: rgba(59, 130, 246, 0.05);
    transition: background-color 0.2s ease;
}
.dashboard-table th:first-child,
.dashboard-table td:first-child {
    border-left: 1px solid var(--border-color);
}

.dashboard-table th:first-child,
.dashboard-table td:first-child {
    position: static;
    left: 0;
    background: var(--secondary-bg);
    z-index: 3;
    min-width: 60px;
    border-right: 2px solid var(--border-color);
}

.dashboard-table td:first-child {
    text-align: center;
    font-weight: 500;
    color: var(--text-secondary);
}

.status {
    border: 1px solid currentColor;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-action {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--secondary-bg);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.modal-content .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.whatsapp-link {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: #25d366;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
}

.star-rating {
    margin: 1rem 0;
}

.star {
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.star:hover,
.star.active {
    color: #ffcc00;
}

#rating-feedback {
    margin-top: 1rem;
    color: var(--text-primary);
}
