        html, body {
            min-height: 100%;
            margin: 0;
            background: #f5f8fb !important;
        }

        body {
            font-family: "Segoe UI", Arial, sans-serif;
            color: #334155;
        }

        .absensi-page {
            min-height: 100vh;
            padding: 18px 15px 25px;
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }

        .absensi-card {
            width: 100%;
            max-width: 1050px;
            background: #fff;
            border: 1px solid #e9eef3;
            border-radius: 20px !important;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(51,65,85,.07);
        }

        .absensi-header {
            text-align: center;
            padding: 18px 20px 13px;
            background: #fff;
        }

        .logo-absensi {
            display: block;
            width: auto;
            max-width: 105px;
            max-height: 58px;
            margin: 0 auto 6px;
            object-fit: contain;
        }

        .judul-absensi {
            margin: 2px 0 5px;
            font-size: 26px;
            line-height: 1.2;
            font-weight: 700;
            letter-spacing: .2px;
            color: #334155;
        }

        .tanggal-absensi {
            margin: 0 0 3px;
            font-size: 14px;
            color: #7b8794;
        }

        .jam-absensi {
            margin: 0 0 3px;
            font-size: 29px;
            line-height: 1.15;
            font-weight: 700;
            letter-spacing: 1px;
            color: #334155;
        }

        .status-label {
            margin: 0;
            font-size: 14px;
            color: #7b8794;
        }

        .status-label strong { font-weight: 700; }
        .status-masuk strong { color: #4d8a63; }
        .status-terlambat strong { color: #b18445; }
        .status-pulang strong { color: #587da1; }
        .status-off strong { color: #a05c63; }

        .absensi-body {
            padding: 0 28px 28px;
        }

        .info-soft {
            margin: 0 0 16px;
            padding: 14px 18px;
            background: #eef7fb;
            border: 1px solid #d9eaf1;
            border-radius: 14px !important;
            color: #52758a;
            text-align: center;
        }

        .info-title {
            margin-bottom: 7px;
            font-size: 13px;
            font-weight: 700;
        }

        .info-title i { margin-right: 5px; }

        .info-jadwal {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            font-size: 13px;
        }

        .info-jadwal strong { color: #426b80; }

        .info-divider {
            width: 1px;
            height: 17px;
            background: #c3dce6;
        }

        .scanner-box {
            margin-bottom: 16px;
            background: #fffaf3;
            border: 1px solid #f0e3cd;
            border-radius: 14px !important;
            overflow: hidden;
        }

        .scanner-header {
            padding: 11px 17px;
            background: #fff5e6;
            border-bottom: 1px solid #f1e3cc;
            color: #786244;
            font-size: 13px;
            font-weight: 700;
        }

        .scanner-header i { margin-right: 6px; }

        .scanner-body { padding: 14px 17px 17px; }

        .scanner-label {
            display: block;
            margin-bottom: 7px;
            color: #806d51;
            font-size: 12px;
            font-weight: 600;
        }

        #barcode {
            width: 100%;
            height: 55px !important;
            padding: 8px 16px;
            border: 1px solid #dfd2bd !important;
            border-radius: 12px !important;
            background: #fff !important;
            color: #334155;
            font-size: 18px !important;
            text-align: center;
            outline: none;
            box-shadow: none !important;
            transition: .2s ease;
        }

        #barcode::placeholder { color: #a7a29b; }

        #barcode:focus {
            border-color: #d2ad72 !important;
            box-shadow: 0 0 0 3px rgba(210,173,114,.12) !important;
        }

        .hasil-absensi {
            padding: 18px 20px;
            border-radius: 14px !important;
            border: 1px solid transparent !important;
            box-shadow: none !important;
            margin: 0;
        }

        .hasil-success { background: #eef9f2 !important; border-color: #d8eddf !important; color: #4d755b !important; }
        .hasil-warning { background: #fff8eb !important; border-color: #f1e3c7 !important; color: #806a45 !important; }
        .hasil-danger { background: #fff1f3 !important; border-color: #f0d8dc !important; color: #995c63 !important; }
        .hasil-info { background: #eef7fb !important; border-color: #d8eaf1 !important; color: #4e7385 !important; }

        .hasil-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 8px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 21px;
        }

        .hasil-success .hasil-icon { background: #d2ead9; color: #4e8661; }
        .hasil-warning .hasil-icon { background: #f3e2ba; color: #947543; }
        .hasil-danger .hasil-icon { background: #f0cdd1; color: #a05c64; }
        .hasil-info .hasil-icon { background: #d3e8ef; color: #4e7b8c; }

        .hasil-jenis {
            margin: 0 0 2px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .5px;
        }

        .hasil-nama {
            margin: 0 0 3px;
            font-size: 23px;
            line-height: 1.25;
            font-weight: 700;
        }

        .hasil-identitas,
        .hasil-kelas,
        .hasil-waktu {
            margin: 2px 0;
            font-size: 13px;
        }

        .foto-hasil {
            max-width: 115px;
            max-height: 115px;
            margin: 8px auto;
            border-radius: 13px !important;
            object-fit: cover;
            border: 3px solid rgba(255,255,255,.9);
            box-shadow: 0 4px 13px rgba(51,65,85,.10);
        }

        .hasil-pesan {
            margin: 7px 0 2px;
            font-size: 17px;
            line-height: 1.3;
            font-weight: 700;
        }

        .wa-status {
            margin-top: 5px;
            font-size: 12px;
            opacity: .9;
        }

        .scanner-hint {
            margin-top: 7px;
            text-align: center;
            color: #9a8b73;
            font-size: 11px;
        }

        @media (max-width: 767px) {
            .absensi-page { padding: 8px; }
            .absensi-card { border-radius: 15px !important; }
            .absensi-header { padding: 14px 12px 11px; }
            .logo-absensi { max-width: 88px; max-height: 50px; }
            .judul-absensi { font-size: 23px; }
            .jam-absensi { font-size: 26px; }
            .absensi-body { padding: 0 11px 15px; }
            .info-soft { padding: 11px 12px; }
            .info-jadwal { gap: 7px; flex-direction: column; }
            .info-divider { width: 65px; height: 1px; }
            #barcode { height: 52px !important; font-size: 17px !important; }
            .hasil-nama { font-size: 21px; }
        }

