<!DOCTYPE html>
<html lang="id">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
    <title><?php echo $__env->yieldContent('title', 'Masuk ke Sistem'); ?> - Presensi Digital</title>

    
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap" rel="stylesheet">

    <link rel="stylesheet" href="<?php echo e(asset('mazer/assets/css/bootstrap.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('mazer/assets/vendors/bootstrap-icons/bootstrap-icons.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('mazer/assets/vendors/sweetalert2/sweetalert2.min.css')); ?>">
    <link rel="shortcut icon" href="<?php echo e(asset('mazer/assets/images/favicon.svg')); ?>" type="image/x-icon">

    <style>
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --brand-primary: #3b82f6;
            --brand-dark: #0f172a;
            --brand-slate: #1e293b;
            --brand-accent: #10b981;
            --border-subtle: rgba(255, 255, 255, 0.08);
            --card-glass: rgba(15, 23, 42, 0.75);
        }

        html, body {
            min-height: 100vh;
            width: 100%;
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: #0b0f19;
            color: #f8fafc;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* ========== FUTURISTIC DARK GRID BACKGROUND ========== */
        .auth-container {
            min-height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem 1rem;
            position: relative;
            background-color: #0b0f19;
            background-image: 
                radial-gradient(at 50% 0%, rgba(59, 130, 246, 0.18) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.12) 0px, transparent 40%),
                radial-gradient(at 0% 100%, rgba(30, 58, 138, 0.25) 0px, transparent 50%),
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
            overflow: hidden;
        }

        /* Subtle Animated Glowing Light Cones */
        .glow-beam {
            position: absolute;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 70%);
            filter: blur(80px);
            pointer-events: none;
            z-index: 1;
            animation: beamPulse 8s ease-in-out infinite alternate;
        }

        .beam-top {
            top: -150px;
            left: 50%;
            transform: translateX(-50%);
        }

        .beam-bottom {
            bottom: -150px;
            right: 10%;
            background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
            animation-duration: 11s;
        }

        @keyframes beamPulse {
            0% { transform: scale(1); opacity: 0.6; }
            100% { transform: scale(1.15); opacity: 0.9; }
        }

        /* ========== GLASS CARD ========== */
        .auth-card-frame {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 440px;
            margin: auto;
        }

        .auth-card-panel {
            background: var(--card-glass);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 1.5rem;
            padding: 2.5rem 2.25rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
        }

        /* Top Brand Header */
        .brand-badge-box {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.4rem 0.95rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 999px;
            font-size: 0.78rem;
            font-weight: 700;
            color: #93c5fd;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            margin-bottom: 1.25rem;
        }

        .pulse-indicator {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background-color: #10b981;
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
            animation: pulseRadar 2s infinite;
        }

        @keyframes pulseRadar {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
        }

        /* Animated Shimmer Title */
        .brand-title-kinetic {
            font-size: 1.85rem;
            font-weight: 800;
            letter-spacing: -0.6px;
            color: #ffffff;
            margin-bottom: 0.35rem;
            line-height: 1.2;
        }

        /* Kinetic Rotating Subtitle */
        .kinetic-subtitle-wrap {
            font-size: 0.88rem;
            color: #94a3b8;
            font-weight: 500;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 0.35rem;
            flex-wrap: wrap;
        }

        .kinetic-dynamic-text {
            color: #60a5fa;
            font-weight: 700;
            border-bottom: 1.5px solid rgba(96, 165, 250, 0.4);
            padding-bottom: 1px;
            display: inline-block;
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        /* ========== MODERN INPUTS ========== */
        .form-group-sleek {
            margin-bottom: 1.25rem;
        }

        .sleek-label {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            color: #94a3b8;
            margin-bottom: 0.45rem;
            display: block;
        }

        .input-box-relative {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-box-relative .lead-icon {
            position: absolute;
            left: 1rem;
            color: #64748b;
            font-size: 1.05rem;
            pointer-events: none;
            transition: color 0.2s ease;
            z-index: 2;
        }

        .sleek-input {
            width: 100%;
            padding: 0.82rem 1rem 0.82rem 2.85rem;
            border-radius: 12px;
            border: 1.5px solid rgba(255, 255, 255, 0.1);
            background: rgba(15, 23, 42, 0.6);
            color: #f8fafc;
            font-size: 0.92rem;
            font-weight: 500;
            transition: all 0.25s ease;
        }

        .sleek-input:focus {
            outline: none;
            background: rgba(15, 23, 42, 0.9);
            border-color: #3b82f6;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 8px 20px rgba(0, 0, 0, 0.3);
            color: #ffffff;
        }

        .sleek-input:focus ~ .lead-icon {
            color: #3b82f6;
        }

        .sleek-input::placeholder {
            color: #475569;
        }

        .toggle-pwd-btn {
            position: absolute;
            right: 0.9rem;
            background: none;
            border: none;
            color: #64748b;
            cursor: pointer;
            padding: 4px;
            font-size: 1.1rem;
            transition: color 0.2s;
            z-index: 3;
        }

        .toggle-pwd-btn:hover {
            color: #94a3b8;
        }

        /* Checkbox */
        .form-check-input {
            background-color: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 5px;
        }

        .form-check-input:checked {
            background-color: #3b82f6;
            border-color: #3b82f6;
        }

        /* ========== HIGH END ACTION BUTTON ========== */
        .btn-action-primary {
            width: 100%;
            padding: 0.85rem 1.5rem;
            border: none;
            border-radius: 12px;
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            color: #ffffff;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.3px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .btn-action-primary:hover {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
            color: #ffffff;
        }

        .btn-action-primary:active {
            transform: translateY(0);
        }

        .btn-action-primary::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -60%;
            width: 40%;
            height: 200%;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
            transform: rotate(30deg);
            transition: left 0.6s ease;
        }

        .btn-action-primary:hover::after {
            left: 130%;
        }

        /* ========== QUICK DEMO SELECTOR ========== */
        .demo-bar-sleek {
            margin-top: 2rem;
            padding: 1.1rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px dashed rgba(255, 255, 255, 0.12);
            border-radius: 14px;
        }

        .demo-bar-title {
            font-size: 0.72rem;
            font-weight: 700;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            margin-bottom: 0.65rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .demo-chips-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.45rem;
        }

        .demo-chip-btn {
            padding: 0.5rem 0.4rem;
            border-radius: 8px;
            font-size: 0.78rem;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #cbd5e1;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
        }

        .demo-chip-btn:hover {
            background: rgba(59, 130, 246, 0.15);
            border-color: #3b82f6;
            color: #ffffff;
            transform: translateY(-1px);
        }

        .auth-footer-meta {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 0.75rem;
            color: #475569;
            font-weight: 500;
        }

        @media (max-width: 480px) {
            .auth-card-panel {
                padding: 2rem 1.35rem;
                border-radius: 1.25rem;
            }
            .brand-title-kinetic {
                font-size: 1.6rem;
            }
            .demo-chips-grid {
                grid-template-columns: 1fr 1fr 1fr;
            }
        }
    </style>
</head>

<body>
    <div class="auth-container">
        <div class="glow-beam beam-top"></div>
        <div class="glow-beam beam-bottom"></div>

        <div class="auth-card-frame">
            <div class="auth-card-panel">
                <?php echo $__env->yieldContent('content'); ?>
            </div>

            <div class="auth-footer-meta">
                <span><i class="bi bi-shield-lock-fill me-1"></i> 256-Bit SSL Secured &bull; Geofencing Real-Time</span>
            </div>
        </div>
    </div>

    <script src="<?php echo e(asset('mazer/assets/js/bootstrap.bundle.min.js')); ?>"></script>
    <script src="<?php echo e(asset('mazer/assets/vendors/sweetalert2/sweetalert2.all.min.js')); ?>"></script>

    <script>
        function togglePassword() {
            const pwd = document.getElementById('login-password');
            const icon = document.getElementById('eye-icon');

            if (pwd.type === 'password') {
                pwd.type = 'text';
                icon.className = 'bi bi-eye-slash text-primary';
            } else {
                pwd.type = 'password';
                icon.className = 'bi bi-eye';
            }
        }

        <?php if(session('success')): ?>
            Swal.fire({
                icon: 'success',
                title: 'Berhasil',
                text: "<?php echo e(session('success')); ?>",
                timer: 3000,
                showConfirmButton: false,
                background: '#1e293b',
                color: '#ffffff'
            });
        <?php endif; ?>

        <?php if(session('error')): ?>
            Swal.fire({
                icon: 'error',
                title: 'Perhatian',
                text: "<?php echo e(session('error')); ?>",
                background: '#1e293b',
                color: '#ffffff'
            });
        <?php endif; ?>
    </script>
</body>

</html>
<?php /**PATH C:\laragon\www\absensi\resources\views/layouts/auth.blade.php ENDPATH**/ ?>