<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Profile - Task Panel</title>
    
    <!-- Google Fonts -->
    <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=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap" rel="stylesheet">
    
    <!-- Inline CSS for styling (Consistent with dashboard, projects & users, pure Vanilla CSS) -->
    <style>
        /* CSS Custom Variables */
        :root {
            --primary-color: #3b46f1;
            --primary-hover: #2a35d8;
            --primary-light: #eff6ff;
            --bg-main: #f8fafc;
            --bg-card: #ffffff;
            
            --text-main: #0f172a;
            --text-muted: #64748b;
            --text-label: #334155;
            --border-color: #e2e8f0;
            --border-hover: #cbd5e1;
            --font-family: 'Instrument Sans', sans-serif;

            --color-completed: #10b981;
            --color-completed-light: #ecfdf5;
            --color-hold: #ef4444;
            --color-hold-light: #fef2f2;
            
            --sidebar-width: 260px;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
            --border-radius: 12px;
        }

        /* Global Reset & Base Styling */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-family);
            background-color: var(--bg-main);
            color: var(--text-main);
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        /* Main Page Layout Wrapper */
        .dashboard-layout {
            display: flex;
            position: relative;
            min-height: 100vh;
        }

        /* Sidebar Styling */
        .sidebar {
            width: var(--sidebar-width);
            background-color: var(--bg-card);
            border-right: 1px solid var(--border-color);
            height: 100vh;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 100;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 1.5rem;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Brand / Logo section */
        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 2rem;
            text-decoration: none;
            color: var(--text-main);
        }

        .brand-logo-box {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            box-shadow: 0 4px 10px rgba(59, 70, 241, 0.2);
        }

        .brand-name {
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: -0.025em;
            color: var(--text-main);
        }

        /* Sidebar Navigation Menu */
        .sidebar-menu {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.375rem;
            flex-grow: 1;
        }

        .sidebar-item a {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            color: var(--text-muted);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .sidebar-item a svg {
            width: 1.25rem;
            height: 1.25rem;
            stroke-width: 2;
        }

        /* Sidebar hover and active states */
        .sidebar-item a:hover {
            background-color: var(--primary-light);
            color: var(--primary-color);
        }

        .sidebar-item.active a {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(59, 70, 241, 0.15);
        }

        .sidebar-item.active a svg {
            color: #ffffff;
        }

        /* Sidebar Footer / Logout button */
        .sidebar-footer {
            border-top: 1px solid var(--border-color);
            padding-top: 1.25rem;
            margin-top: auto;
        }

        .logout-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            color: var(--text-muted);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 8px;
            transition: all 0.2s ease;
            cursor: pointer;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
        }

        .logout-link:hover {
            background-color: var(--color-hold-light);
            color: var(--color-hold);
        }

        .logout-link svg {
            width: 1.25rem;
            height: 1.25rem;
            stroke-width: 2;
        }

        /* Main Content Panel Area */
        .main-content {
            margin-left: var(--sidebar-width);
            flex-grow: 1;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            min-width: 0;
            transition: margin-left 0.3s ease;
        }

        /* Topbar Header Area */
        .topbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        /* Right section: Admin Profile */
        .topbar-right {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-left: auto;
        }

        /* User Admin profile badge */
        .admin-profile {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            background-color: var(--bg-card);
            padding: 0.375rem 0.875rem 0.375rem 0.375rem;
            border-radius: 50px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
        }

        .avatar-initials {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4f46e5, #3b82f6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-weight: 700;
            font-size: 0.875rem;
            position: relative;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .online-dot {
            width: 10px;
            height: 10px;
            background-color: #10b981;
            border: 2px solid var(--bg-card);
            border-radius: 50%;
            position: absolute;
            bottom: 0;
            right: 0;
        }

        .admin-info {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .admin-name {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--text-main);
        }

        .admin-role {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* Title block */
        .dashboard-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            animation: fadeIn 0.5s ease-out;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .dashboard-title {
            font-size: 1.875rem;
            font-weight: 800;
            letter-spacing: -0.03em;
            color: var(--text-main);
        }

        /* Profile Layout Grid */
        .profile-container {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 2rem;
            animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* Left Side: Summary Card */
        .profile-summary-card {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: 2.5rem 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            box-shadow: var(--shadow-sm);
        }

        .large-avatar-frame {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3b46f1, #8b5cf6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 2.25rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            box-shadow: 0 10px 20px rgba(59, 70, 241, 0.15);
            position: relative;
        }

        .summary-name {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 0.25rem;
        }

        .summary-role {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 600;
            background-color: var(--bg-main);
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            border: 1px solid var(--border-color);
            margin-bottom: 2rem;
        }

        .quick-details-list {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            border-top: 1px solid var(--border-color);
            padding-top: 1.5rem;
            text-align: left;
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.875rem;
        }

        .detail-label {
            color: var(--text-muted);
            font-weight: 600;
        }

        .detail-val {
            color: var(--text-main);
            font-weight: 700;
        }

        /* Right Side: Form Cards */
        .profile-forms-column {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .card {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }

        .card:hover {
            border-color: var(--border-hover);
        }

        .card-header-title {
            font-size: 1.125rem;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 1.5rem;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .card-header-title svg {
            width: 1.25rem;
            height: 1.25rem;
            color: var(--primary-color);
        }

        /* Form Inputs */
        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem 2rem;
            margin-bottom: 1.5rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group-full {
            grid-column: span 2;
        }

        .form-label {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--text-label);
        }

        .input-wrapper {
            position: relative;
            border-radius: 8px;
        }

        .input-field {
            display: block;
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-main);
            background-color: #ffffff;
            font-size: 0.875rem;
            font-family: inherit;
            transition: all 0.2s ease;
        }

        .input-field:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(59, 70, 241, 0.15);
        }

        .input-field:disabled {
            background-color: #f1f5f9;
            color: var(--text-muted);
            cursor: not-allowed;
        }

        /* Password visibility toggle icon */
        .eye-toggle-btn {
            position: absolute;
            right: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            border: none;
            background: none;
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.25rem;
            border-radius: 4px;
            transition: color 0.2s ease;
        }

        .eye-toggle-btn:hover {
            color: var(--text-label);
        }

        .eye-toggle-btn svg {
            width: 1.125rem;
            height: 1.125rem;
            stroke-width: 2;
        }

        .btn-submit {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid transparent;
            background-color: var(--primary-color);
            color: #ffffff;
            box-shadow: 0 4px 6px -1px rgba(59, 70, 241, 0.1);
        }

        .btn-submit:hover {
            background-color: var(--primary-hover);
            box-shadow: 0 10px 15px -3px rgba(59, 70, 241, 0.2);
        }

        /* Alerts notifications */
        .alert-success {
            background-color: var(--color-completed-light);
            border-left: 4px solid var(--color-completed);
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow-sm);
            display: flex;
            align-items: center;
            font-size: 0.875rem;
            font-weight: 600;
            color: #065f46;
            animation: fadeIn 0.4s ease-out;
        }

        .alert-success svg {
            width: 1.25rem;
            height: 1.25rem;
            margin-right: 0.5rem;
            color: var(--color-completed);
        }

        .alert-error {
            background-color: var(--color-hold-light);
            border-left: 4px solid var(--color-hold);
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            font-size: 0.875rem;
            font-weight: 600;
            color: #991b1b;
        }

        .alert-error ul {
            list-style: inside disc;
            padding-left: 0.5rem;
            font-weight: 500;
            font-size: 0.8rem;
            margin-top: 0.25rem;
        }

        /* General Animation keyframes */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(16px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Layouts */
        @media (max-width: 1024px) {
            .sidebar {
                transform: translateX(-100%);
            }
            .sidebar.active {
                transform: translateX(0);
                box-shadow: var(--shadow-lg);
            }
            .main-content {
                margin-left: 0;
                padding: 1.5rem;
            }
            .profile-container {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 640px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
            .form-group-full {
                grid-column: span 1;
            }
            .btn-submit {
                width: 100%;
            }
        }
    </style>
</head>
<body>

    <div class="dashboard-layout">
        
        <!-- ==========================================
             LEFT SIDEBAR NAVIGATION
             ========================================== -->
        <aside id="dashboard-sidebar" class="sidebar">
            <!-- Brand Logo Header -->
            <div>
                <a href="<?php echo e(route('dashboard')); ?>" class="sidebar-brand">
                    <div class="brand-logo-box">
                        <svg style="width: 1.25rem; height: 1.25rem;" fill="none" stroke="currentColor" stroke-width="2.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                            <path stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path>
                        </svg>
                    </div>
                    <span class="brand-name">TASK PANEL</span>
                </a>

                <!-- Navigation List Menu -->
                <ul class="sidebar-menu">
                    <li class="sidebar-item">
                        <a href="<?php echo e(route('dashboard')); ?>">
                            <svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                <path stroke-linecap="round" stroke-linejoin="round" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path>
                            </svg>
                            <span>Dashboard</span>
                        </a>
                    </li>
                    <li class="sidebar-item">
                        <a href="<?php echo e(route('users.index')); ?>">
                            <svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                <path stroke-linecap="round" stroke-linejoin="round" d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a3 3 0 11-6 0 3 3 0 016 0z"></path>
                            </svg>
                            <span>Users</span>
                        </a>
                    </li>
                    <li class="sidebar-item">
                        <a href="<?php echo e(route('projects.index')); ?>">
                            <svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                <path stroke-linecap="round" stroke-linejoin="round" d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"></path>
                            </svg>
                            <span>Projects</span>
                        </a>
                    </li>
                    <li class="sidebar-item">
                        <a href="#">
                            <svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                <path stroke-linecap="round" stroke-linejoin="round" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10a2 2 0 01-2 2h-2a2 2 0 01-2-2zm9-1v-4a2 2 0 00-2-2h-2a2 2 0 00-2 2v4a2 2 0 002 2h2a2 2 0 002-2z"></path>
                            </svg>
                            <span>Reports</span>
                        </a>
                    </li>
                    <li class="sidebar-item active">
                        <a href="<?php echo e(route('profile.index')); ?>">
                            <svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"></path>
                            </svg>
                            <span>Profile</span>
                        </a>
                    </li>
                </ul>
            </div>

            <!-- Logout Link Button -->
            <div class="sidebar-footer">
                <form method="POST" action="<?php echo e(route('logout')); ?>" id="logout-form" style="display: none;">
                    <?php echo csrf_field(); ?>
                </form>
                <button class="logout-link" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
                    <svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                        <path stroke-linecap="round" stroke-linejoin="round" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"></path>
                    </svg>
                    <span>Logout</span>
                </button>
            </div>
        </aside>

        <!-- ==========================================
             RIGHT MAIN CONTENT AREA
             ========================================== -->
        <main class="main-content">
            
            <!-- Topbar Header Area -->
            <div class="topbar">
                
                <!-- Left side: Page Title -->
                <div class="dashboard-header">
                    <h1 class="dashboard-title">Profile</h1>
                </div>

                <!-- Right top elements breadcrumbs & profile -->
                <div class="topbar-right">
                    
                    <!-- Admin Profile Card -->
                    <div class="admin-profile">
                        <div class="avatar-initials">
                            <?php echo e(strtoupper(substr(session('admin_name', 'Admin'), 0, 2))); ?>

                            <span class="online-dot"></span>
                        </div>
                        <div class="admin-info">
                            <span class="admin-name"><?php echo e(session('admin_name', 'Admin')); ?></span>
                            <span class="admin-role">Super Admin</span>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Alerts for updates -->
            <?php if(session('success')): ?>
                <div class="alert-success">
                    <svg fill="none" stroke="currentColor" stroke-width="2.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                        <path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                    </svg>
                    <span><?php echo e(session('success')); ?></span>
                </div>
            <?php endif; ?>

            <?php if($errors->any()): ?>
                <div class="alert-error">
                    <strong>Please resolve the following errors:</strong>
                    <ul>
                        <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li><?php echo e($error); ?></li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </ul>
                </div>
            <?php endif; ?>

            <!-- Profile Dashboard Grid -->
            <div class="profile-container">
                
                <!-- 1. Profile Summary Card (Left) -->
                <div class="profile-summary-card">
                    <div class="large-avatar-frame">
                        <?php echo e(strtoupper(substr(session('admin_name', 'Admin'), 0, 2))); ?>

                    </div>
                    <h2 class="summary-name"><?php echo e(session('admin_name', 'Admin')); ?></h2>
                    <span class="summary-role">Super Admin</span>

                    <div class="quick-details-list">
                        <div class="detail-item">
                            <span class="detail-label">Status</span>
                            <span class="detail-val" style="color: var(--color-completed);">Active</span>
                        </div>
                        <div class="detail-item">
                            <span class="detail-label">Joined</span>
                            <span class="detail-val">May 2025</span>
                        </div>
                        <div class="detail-item">
                            <span class="detail-label">Email</span>
                            <span class="detail-val" style="font-size: 0.8rem; word-break: break-all;"><?php echo e(session('admin_email', 'Admin@gmail.com')); ?></span>
                        </div>
                    </div>
                </div>

                <!-- 2. Profile Details & Password Form Column (Right) -->
                <div class="profile-forms-column">
                    
                    <!-- Card 1: Account Settings Form -->
                    <div class="card">
                        <h3 class="card-header-title">
                            <svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                <path stroke-linecap="round" stroke-linejoin="round" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"></path>
                            </svg>
                            Account Settings
                        </h3>

                        <form method="POST" action="<?php echo e(route('profile.update')); ?>">
                            <?php echo csrf_field(); ?>
                            <div class="form-grid">
                                
                                <!-- Name Input -->
                                <div class="form-group">
                                    <label for="profile_name" class="form-label">Full Name</label>
                                    <div class="input-wrapper">
                                        <input type="text" name="name" id="profile_name" class="input-field" value="<?php echo e(old('name', session('admin_name', 'Admin'))); ?>" required>
                                    </div>
                                </div>

                                <!-- Email Input -->
                                <div class="form-group">
                                    <label for="profile_email" class="form-label">Email Address</label>
                                    <div class="input-wrapper">
                                        <input type="email" name="email" id="profile_email" class="input-field" value="<?php echo e(old('email', session('admin_email', 'Admin@gmail.com'))); ?>" required>
                                    </div>
                                </div>

                                <!-- Role Input (Disabled) -->
                                <div class="form-group">
                                    <label for="profile_role" class="form-label">Role</label>
                                    <div class="input-wrapper">
                                        <input type="text" id="profile_role" class="input-field" value="Super Admin" disabled>
                                    </div>
                                </div>

                                <!-- Status Input (Disabled) -->
                                <div class="form-group">
                                    <label for="profile_status" class="form-label">Status</label>
                                    <div class="input-wrapper">
                                        <input type="text" id="profile_status" class="input-field" value="Active" disabled>
                                    </div>
                                </div>

                            </div>
                            <div style="display: flex; justify-content: flex-end;">
                                <button type="submit" class="btn-submit">Save Account Changes</button>
                            </div>
                        </form>
                    </div>

                    <!-- Card 2: Password Reset Form -->
                    <div class="card">
                        <h3 class="card-header-title">
                            <svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                <path stroke-linecap="round" stroke-linejoin="round" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path>
                            </svg>
                            Password settings
                        </h3>

                        <form method="POST" action="#" onsubmit="alert('Mock password reset complete.'); return false;">
                            <?php echo csrf_field(); ?>
                            <div class="form-grid">
                                
                                <!-- Current Password -->
                                <div class="form-group">
                                    <label for="current_password" class="form-label">Current Password</label>
                                    <div class="input-wrapper">
                                        <input type="password" id="current_password" class="input-field" placeholder="••••••••" required>
                                        <button type="button" class="eye-toggle-btn" onclick="togglePassVisibility('current_password')">
                                            <svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
                                            </svg>
                                        </button>
                                    </div>
                                </div>

                                <!-- New Password -->
                                <div class="form-group">
                                    <label for="new_password" class="form-label">New Password</label>
                                    <div class="input-wrapper">
                                        <input type="password" id="new_password" class="input-field" placeholder="••••••••" required>
                                        <button type="button" class="eye-toggle-btn" onclick="togglePassVisibility('new_password')">
                                            <svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
                                            </svg>
                                        </button>
                                    </div>
                                </div>

                            </div>
                            <div style="display: flex; justify-content: flex-end;">
                                <button type="submit" class="btn-submit">Update Password</button>
                            </div>
                        </form>
                    </div>

                </div>

            </div>

        </main>
    </div>

    <!-- Password Eye Visibility toggle script -->
    <script>
        function togglePassVisibility(id) {
            const field = document.getElementById(id);
            if (field.type === 'password') {
                field.type = 'text';
            } else {
                field.type = 'password';
            }
        }
    </script>
</body>
</html>
<?php /**PATH D:\New\New\admin-panel\resources\views/profile/profile.blade.php ENDPATH**/ ?>