﻿:root {
            --primary-color: #1a56db;
            --primary-dark: #0e3f9e;
            --primary-light: #e1effe;
            --secondary-color: #3f83f8;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --background: #f9fafb;
            --card-bg: #ffffff;
            --success: #0e9f6e;
            --warning: #f05252;
            --admin-color: #1a56db;
            --manager-color: #9061f9;
            --staff-color: #3f83f8;
            --user-color: #0694a2;
            --guest-color: #0e9f6e;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--background);
            color: var(--text-dark);
            line-height: 1.6;
        }
        
        /* Header Styles */
        .fixed-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 70px;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.5rem;
            z-index: 100;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        }
        
        .header-title {
            font-size: 1.4rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .header-title i {
            font-size: 1.6rem;
        }
        
        .header-nav {
            display: flex;
            gap: 1.5rem;
        }
        
        .header-nav a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: white;
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 0.8rem;
            border-radius: 8px;
            transition: all 0.2s ease;
        }
        
        .header-nav a:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }
        
        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* Main Content */
        .main-content {
            padding-top: 90px;
            padding-bottom: 70px;
            min-height: 100vh;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem;
        }
        
        /* Hero Section */
        .hero {
            text-align: center;
            margin-bottom: 2.5rem;
            padding: 0 1rem;
        }
        
        .hero h1 {
            font-size: 2.5rem;
            color: var(--primary-dark);
            margin-bottom: 1rem;
            background: linear-gradient(to right, var(--admin-color), var(--manager-color), var(--staff-color), var(--user-color), var(--guest-color));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 1.5rem;
            color: var(--text-dark);
        }
        
        /* Role Cards Container */
        .roles-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.8rem;
            margin-bottom: 3rem;
        }
        
        /* Role Card */
        .role-card {
            background: var(--card-bg);
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            padding: 1.8rem;
            transition: transform 0.3s ease;
            position: relative;
            overflow: hidden;
            border-top: 5px solid;
        }
        
        .role-card:hover {
            transform: translateY(-5px);
        }
        
        .role-card.admin {
            border-color: var(--admin-color);
        }
        
        .role-card.manager {
            border-color: var(--manager-color);
        }
        
        .role-card.staff {
            border-color: var(--staff-color);
        }
        
        .role-card.user {
            border-color: var(--user-color);
        }
        
        .role-card.guest {
            border-color: var(--guest-color);
        }
        
        .role-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.2rem;
        }
        
        .role-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
        }
        
        .role-icon.admin {
            background: var(--admin-color);
        }
        
        .role-icon.manager {
            background: var(--manager-color);
        }
        
        .role-icon.staff {
            background: var(--staff-color);
        }
        
        .role-icon.user {
            background: var(--user-color);
        }
        
        .role-icon.guest {
            background: var(--guest-color);
        }
        
        .role-title {
            font-size: 1.5rem;
            font-weight: 700;
        }
        
        .role-description {
            margin-bottom: 1.5rem;
            color: var(--text-dark);
            line-height: 1.7;
        }
        
        .permissions-title {
            font-weight: 600;
            margin-bottom: 0.8rem;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .permissions-list {
            list-style: none;
            padding-left: 0;
        }
        
        .permissions-list li {
            padding: 0.5rem 0;
            display: flex;
            align-items: flex-start;
            gap: 0.8rem;
            font-size: 0.95rem;
        }
        
        .permissions-list li .material-icons {
            color: var(--success);
            font-size: 1.2rem;
            min-width: 24px;
        }
        
        /* Permission Matrix */
        .matrix-container {
            background: var(--card-bg);
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            padding: 2rem;
            margin-bottom: 2rem;
        }
        
        .matrix-container h2 {
            text-align: center;
            color: var(--primary-dark);
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
        }
        
        .matrix-table {
            width: 100%;
            border-collapse: collapse;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .matrix-table th {
            background: var(--primary-light);
            padding: 1rem;
            text-align: left;
            font-weight: 600;
        }
        
        .matrix-table td {
            padding: 0.9rem 1rem;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .matrix-table tr:last-child td {
            border-bottom: none;
        }
        
        .permission-check {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            background: #0e9f6e;
            color: white;
            border-radius: 50%;
            font-size: 1rem;
        }
        
        .permission-cross {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            background: #f05252;
            color: white;
            border-radius: 50%;
            font-size: 1rem;
        }
        
        /* Footer */
        .fixed-footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 100;
        }
        
        /* Responsive Styles */
        @media (max-width: 900px) {
            .header-nav {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                right: 0;
                background: var(--primary-color);
                flex-direction: column;
                padding: 1rem;
                gap: 0.5rem;
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            }
            
            .header-nav.active {
                display: flex;
            }
            
            .header-nav a {
                padding: 0.8rem;
                border-radius: 6px;
                background: rgba(255, 255, 255, 0.1);
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .matrix-container {
                overflow-x: auto;
            }
        }
        
        @media (max-width: 600px) {
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .main-content {
                padding-top: 80px;
            }
            
            .roles-container {
                grid-template-columns: 1fr;
            }
        }
        
        /* Animation */
        .role-card {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.5s forwards;
        }
        
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }
        .delay-5 { animation-delay: 0.5s; }
