 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #001f3f;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ── Main layout ── */
        .main-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        .split-card {
            display: flex;
            width: 100%;
            max-width: 1100px;
            min-height: 580px;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
        }

        /* ── Left branding column ── */
        .brand-col {
            flex: 0 0 340px;
            background-color: #001f3f;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 3rem 2.5rem;
            position: relative;
            gap: 2rem;
        }

        .brand-col::after {
            content: '';
            position: absolute;
            right: 0;
            top: 15%;
            height: 70%;
            width: 1px;
            background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.25), transparent);
        }

        .brand-institution-logo {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            object-fit: contain;
            filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
        }

        .brand-sicavp-logo {
            max-width: 240px;
            width: 100%;
            filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
        }

        .brand-subtitle {
            color: rgba(255, 255, 255, 0.55);
            font-size: 0.8rem;
            font-weight: 300;
            letter-spacing: 1px;
            text-transform: uppercase;
            text-align: center;
        }

        /* Decorative arrow line like reference */
        .brand-decoration {
            position: absolute;
            top: 40px;
            left: 20px;
            right: 20px;
            height: 2px;
            background: linear-gradient(to right, #198754, transparent);
            opacity: 0.6;
        }
        .brand-decoration::before {
            content: '';
            position: absolute;
            left: 0;
            top: -4px;
            width: 0;
            height: 0;
            border-top: 5px solid transparent;
            border-bottom: 5px solid transparent;
            border-right: 10px solid #198754;
            opacity: 0.8;
        }

        /* ── Right content column ── */
        .content-col {
            flex: 1;
            background-color: #001f3f;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2.5rem;
        }

        .content-panel {
            width: 100%;
            max-width: 520px;
            border: 2px solid #198754;
            border-radius: 14px;
            padding: 2.5rem 2rem;
            background: rgba(0, 31, 63, 0.5);
            backdrop-filter: blur(8px);
        }

        .content-panel h4 {
            color: #ffffff;
            font-weight: 600;
            font-size: 1.25rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        /* ── Video / camera ── */
        .video-container {
            position: relative;
            width: 100%;
            max-width: 220px;
            aspect-ratio: 3/4;
            margin: 0 auto 1.5rem;
            border-radius: 50% 50% 45% 45%;
            overflow: hidden;
            border: 3px solid #198754;
            background-color: #000;
            box-shadow: 0 6px 24px rgba(25, 135, 84, 0.25);
        }

        .video-container.active-camera {
            animation: pulse-border 2s infinite;
        }

        @keyframes pulse-border {
            0%   { border-color: #198754; box-shadow: 0 0 0 0 rgba(25,135,84,0.4); }
            50%  { border-color: #2fb370; box-shadow: 0 0 0 12px rgba(25,135,84,0); }
            100% { border-color: #198754; box-shadow: 0 0 0 0 rgba(25,135,84,0); }
        }

        .face-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            height: 85%;
            border: 2px dashed rgba(255, 255, 255, 0.45);
            border-radius: 50% 50% 45% 45%;
            pointer-events: none;
            z-index: 10;
        }

        video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scaleX(-1);
        }

        /* ── Buttons ── */
        .movement-label {
            color: rgba(255,255,255,0.7);
            font-size: 0.9rem;
            font-weight: 500;
            text-align: center;
            margin-bottom: 0.75rem;
        }

        .btn-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.6rem;
        }

        .action-btn {
            padding: 0.6rem 1rem;
            font-size: 0.95rem;
            font-weight: 500;
            border-radius: 8px;
            border: none;
            transition: transform 0.15s, box-shadow 0.15s;
        }

        .action-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        .action-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* ── Status message ── */
        #statusMessage {
            min-height: 44px;
            border-radius: 8px;
            font-size: 0.9rem;
        }

        #loaderMessage {
            border-radius: 8px;
            font-size: 0.85rem;
        }

        /* ── Reactivation overlay ── */
        .reactivation-overlay {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 20;
            text-align: center;
            padding: 20px;
        }

        .reactivation-overlay i {
            font-size: 2.5rem;
            margin-bottom: 8px;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40%  { transform: translateY(-8px); }
            60%  { transform: translateY(-4px); }
        }

        /* ── Footer ── */
        .site-footer {
            text-align: center;
            padding: 1rem;
            color: rgba(255,255,255,0.4);
            font-size: 0.75rem;
        }

        /* ── Responsive ── */
        @media (max-width: 768px) {
            .split-card {
                flex-direction: column;
                min-height: auto;
            }
            .brand-col {
                flex: none;
                padding: 2rem 1.5rem;
                gap: 1rem;
            }
            .brand-col::after {
                display: none;
            }
            .brand-decoration {
                display: none;
            }
            .brand-institution-logo {
                width: 70px;
                height: 70px;
            }
            .brand-sicavp-logo {
                max-width: 180px;
            }
            .content-col {
                padding: 1.5rem;
            }
            .content-panel {
                padding: 1.5rem 1rem;
            }
            .video-container {
                max-width: 180px;
            }
        }