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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            /* background: linear-gradient(135deg, #1565c0 0%, #c2185b 100%); */
            background: linear-gradient(135deg, #1565c0a1 0%, #c2185c9b 100%), url('/admin/assets/images/Background3.jpg') no-repeat center center fixed;
            background-size: cover;
            min-height: 100vh;
            display: grid;
            place-items: center;
            padding: 20px;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: -1;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            place-items: center;
        }

        /* Clock Display */
        .clock-container {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 20px;
            max-width: 400px;
            text-align: right;
        }

        .clock {
            font-size: 3.5em;
            font-weight: bold;
            letter-spacing: 5px;
        }

        .period {
            font-size: 2em;
            font-weight: 800;
            text-align: center;
        }

        .TimeDate {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 20px 30px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            color: white;
            margin-top: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .date_section {
            font-size: 1.5em;
            font-weight: 500;
            text-align: left;
        }

        /* Header Section */
        .header {
            width: 1400px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 25px;
            text-align: center;
            color: white;
            margin-bottom: 30px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .header h1 {
            font-size: 2em;
            margin-bottom: 10px;
        }

        .device-status {
            display: inline-block;
            padding: 8px 15px;
            background: rgba(76, 175, 80, 0.3);
            border: 2px solid #4caf50;
            border-radius: 20px;
            margin-top: 10px;
            animation: pulse 2s infinite;
        }

        .device-status.offline {
            background: rgba(244, 67, 54, 0.3);
            border-color: #f44336;
            animation: none;
        }

        /* Table Section */
        .table-section {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .table-header {
            width: 1400px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .table-header h2 {
            color: #333;
            font-size: 1.8em;
        }

        .info-badge {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9em;
            font-weight: 600;
        }

        table {
            width: 1400px;
            border-collapse: collapse;
        }

        thead {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.9em;
        }

        td {
            padding: 15px;
            border-bottom: 1px solid #e9ecef;
            color: #333;
        }

        tbody tr {
            transition: background-color 0.2s;
        }

        tbody tr:hover {
            background-color: #f8f9fa;
        }

        tbody tr.new-entry {
            animation: highlight 2s ease-out;
        }

        @keyframes highlight {
            0% {
                background-color: #fffacd;
            }

            100% {
                background-color: transparent;
            }
        }

        .status-badge {
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 600;
            display: inline-block;
            background: #d4edda;
            color: #155724;
        }

        .sound-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: white;
            border: none;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            font-size: 1.5em;
            transition: all 0.3s;
        }

        .sound-toggle:hover {
            transform: scale(1.1);
        }

        .sound-toggle.muted {
            opacity: 0.5;
        }

        .connection-status {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: white;
            padding: 10px 15px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            font-size: 0.9em;
        }

        .connection-status.connected {
            border-left: 4px solid #4caf50;
        }

        .connection-status.disconnected {
            border-left: 4px solid #f44336;
        }

        .image-wrapper {
            filter: drop-shadow(1px 0 0 white) 
            drop-shadow(-1px 0 0 white) 
            drop-shadow(0 1px 0 white) 
            drop-shadow(0 -1px 0 white);
        }