<!-- resources/views/layouts/guest.blade.php -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Admin Login · Dashboard Style</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Bootstrap Icons -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
    <?php echo \Livewire\Mechanisms\FrontendAssets\FrontendAssets::styles(); ?>

    <style>
        /* ----- EXACT SAME VARIABLES & STYLES FROM DASHBOARD ----- */
        :root {
            --primary-color: #4361ee;
            --primary-light: #edf2ff;
            --sidebar-width: 250px;
            --sidebar-bg: #ffffff;
            --text-primary: #2d3748;
            --text-secondary: #718096;
            --border-color: #e2e8f0;
            --hover-bg: #f7fafc;
            --body-bg: #f8fafc;
            --card-bg: #ffffff;
            --header-bg: #ffffff;
        }

        /* Dark Theme Variables */
        [data-theme="dark"] {
            --primary-color: #6366f1;
            --primary-light: #312e81;
            --sidebar-bg: #1f2937;
            --text-primary: #f9fafb;
            --text-secondary: #9ca3af;
            --border-color: #374151;
            --hover-bg: #374151;
            --body-bg: #111827;
            --card-bg: #1f2937;
            --header-bg: #1f2937;
        }

        body {
            background-color: var(--body-bg);
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            color: var(--text-primary);
            transition: background-color 0.3s ease, color 0.3s ease;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            margin: 0;
        }

        /* ----- DASHBOARD CARD STYLE ----- */
        .dashboard-card {
            border: none;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
            width: 100%;
            max-width: 420px;
            margin: 0 auto;
        }

        .dashboard-card:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            transform: translateY(-2px);
        }

        [data-theme="dark"] .dashboard-card:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }

        .card-header {
            background: transparent;
            border-bottom: 1px solid var(--border-color);
            padding: 1.75rem 1.5rem 1rem;
            font-weight: 600;
            text-align: center;
        }

        .card-body {
            padding: 1.5rem;
        }

        /* ----- LOGO ----- */
        .login-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            text-decoration: none;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            background: var(--primary-color);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            transition: all 0.3s;
        }

        .login-logo:hover .logo-icon {
            transform: rotate(15deg);
            background: linear-gradient(135deg, #ffffff, #bfbdc2);
        }

        [data-theme="dark"] .login-logo:hover .logo-icon {
            background: linear-gradient(135deg, #6366f1, #4f46e5);
        }

        .logo-text {
            font-weight: 700;
            font-size: 1.5rem;
            letter-spacing: -0.5px;
        }

        .logo-subtext {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-top: 2px;
            text-align: center;
        }

        /* ----- FORM CONTROLS ----- */
        .form-control {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            border-radius: 12px;
            padding: 0.75rem 1rem;
            font-size: 0.95rem;
            transition: all 0.2s ease;
        }

        .form-control:focus {
            background-color: var(--card-bg);
            border-color: var(--primary-color);
            color: var(--text-primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
            outline: none;
        }

        [data-theme="dark"] .form-control:focus {
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
        }

        .form-label {
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 0.9rem;
            margin-bottom: 0.4rem;
        }

        .input-group-text {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            border-radius: 12px 0 0 12px;
            border-right: none;
        }

        .input-group .form-control {
            border-left: none;
            border-radius: 0 12px 12px 0;
        }

        .input-group .form-control:focus {
            border-left: none;
        }

        /* ----- BUTTONS ----- */
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: white;
            border-radius: 12px;
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .btn-primary:hover {
            background-color: #3651c4;
            border-color: #3651c4;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
        }

        [data-theme="dark"] .btn-primary:hover {
            box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
        }

        .btn-outline-secondary {
            background: transparent;
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            border-radius: 12px;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .btn-outline-secondary:hover {
            background: var(--hover-bg);
            color: var(--text-primary);
            border-color: var(--primary-color);
        }

        /* ----- THEME TOGGLE (fixed position) ----- */
        .theme-toggle {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            width: 42px;
            height: 42px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: fixed;
            top: 1.5rem;
            right: 1.5rem;
            z-index: 1000;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .theme-toggle:hover {
            background: var(--hover-bg);
            color: var(--primary-color);
            border-color: var(--primary-color);
            transform: rotate(15deg);
        }

        .theme-toggle i {
            font-size: 1.3rem;
            transition: all 0.3s ease;
        }

        .theme-toggle:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .opacity-50 {
            opacity: 0.5;
        }

        /* ----- LINKS ----- */
        .forgot-link {
            color: var(--primary-color);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .forgot-link:hover {
            color: var(--text-primary);
            text-decoration: underline;
        }

        .register-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.2s ease;
        }

        .register-link:hover {
            color: var(--primary-color);
        }

        .register-link strong {
            color: var(--primary-color);
            font-weight: 600;
        }

        .divider {
            color: var(--text-secondary);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 1rem 0;
            position: relative;
            text-align: center;
        }

        .divider::before,
        .divider::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 45%;
            height: 1px;
            background-color: var(--border-color);
        }

        .divider::before {
            left: 0;
        }

        .divider::after {
            right: 0;
        }

        /* Demo credentials badge */
        .demo-credentials {
            background: var(--primary-light);
            color: var(--primary-color);
            border-radius: 30px;
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
            text-align: center;
            margin-top: 1.5rem;
            border: 1px solid var(--border-color);
        }
        [data-theme="dark"] .demo-credentials {
            background: #2d3748;
            color: #a0aec0;
        }

        /* Responsive */
        @media (max-width: 480px) {
            body {
                padding: 1rem;
            }
            .card-header {
                padding: 1.5rem 1rem 0.5rem;
            }
            .card-body {
                padding: 1.25rem;
            }
            .theme-toggle {
                top: 1rem;
                right: 1rem;
                width: 38px;
                height: 38px;
            }
        }
    </style>
</head>
<body>
    <?php echo e($slot); ?>


    <?php echo \Livewire\Mechanisms\FrontendAssets\FrontendAssets::scripts(); ?>

</body>
</html><?php /**PATH /Users/malando/Downloads/laravelApps/mswaada/resources/views/layouts/guest.blade.php ENDPATH**/ ?>