﻿


::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

:root {
    
    --background: #0d1117;
    --panel: #161b22;
    --panel-light: #21262d;
    --border: rgba(240, 246, 252, 0.1);

    
    --primary: #5865f2;
    
    --primary-hover: #4752c4;
    --primary-fade: rgba(88, 101, 242, 0.1);
    --accent-blue: #00a2ff;
    --accent-blue-fade: rgba(0, 162, 255, 0.1);

    
    --success: #23a559;
    --warning: #f1c40f;
    --destructive: #da373c;

    
    --text: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #7d8590;
    --muted-foreground: #7d8590;

    
    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 999px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    
    --glass-bg: rgba(22, 27, 34, 0.8);
    --glass-border: rgba(240, 246, 252, 0.1);
    --glass-blur: blur(12px);

    
    --sapphire-glow: radial-gradient(circle at 50% 50%, rgba(88, 101, 242, 0.15), transparent 70%);
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.grid-background {
    background-image:
        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: 50px 50px;
    background-position: center top;
}

body.bottom-glow {
    position: relative;
}

body.bottom-glow::after {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    color: var(--text);
}

p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}


.app-container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 48px;
    max-width: 1400px;
    width: 100%;
    position: relative;
}

.bg-glow {
    position: fixed;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: var(--sapphire-glow);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}




.glass-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    
    position: relative;
}

.mee6-card {
    background: linear-gradient(180deg, rgba(18, 22, 34, 0.96), rgba(14, 18, 30, 0.92));
    border: 1px solid rgba(88, 101, 242, 0.15);
    box-shadow: 0 24px 60px rgba(10, 15, 28, 0.45);
}

.mee6-card::after {
    content: "";
    position: absolute;
    inset: -40% -40% auto auto;
    width: 220px;
    height: 220px;
    background: var(--mee6-glow);
    opacity: 0.6;
    pointer-events: none;
}

.dashboard-hero {
    padding: 32px;
    border-radius: calc(var(--radius) + 4px);
    background: var(--hero-gradient);
    border: 1px solid rgba(88, 101, 242, 0.25);
    position: relative;
    overflow: hidden;
}

.dashboard-hero .hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dashboard-hero .hero-subtitle {
    color: var(--text-muted);
    max-width: 620px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-content>div {
    animation: fadeIn 0.4s ease forwards;
}

.module-card {
    background: rgba(22, 27, 34, 0.4);
    border: 1px solid var(--border);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.module-card:hover {
    background: rgba(22, 27, 34, 0.8);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card-hover:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    transition: all 0.3s ease;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 15px var(--primary-fade);
}

.btn-secondary {
    background: var(--panel-light);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}


.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon.primary {
    color: var(--primary);
}

.btn-icon.primary:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.3);
    color: #a5b4fc;
}

.btn-icon.danger {
    color: var(--destructive);
}

.btn-icon.danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ff8c8c;
}



.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-control option {
    background: #0f1420;
    color: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-fade);
}


.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}


.toast {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease;
    min-width: 320px;
    border-left-width: 4px;
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--destructive);
}


.save-bar {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: rgba(15, 15, 20, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    width: auto;
    min-width: 580px;
    max-width: 90vw;
    opacity: 0;
    pointer-events: none;
}

.save-bar.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.save-bar-content {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    font-weight: 500;
}

.save-bar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}


.permission-card-modern {
    cursor: pointer;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.permission-card-modern:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.permission-card-modern.active {
    background: rgba(88, 101, 242, 0.06);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.1);
}

.permission-card-modern .checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 2px;
}

.permission-card-modern.active .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.permission-card-modern .checkbox-custom i {
    font-size: 0.75rem;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}

.permission-card-modern.active .checkbox-custom i {
    opacity: 1;
    transform: scale(1);
}

.permission-card-modern .card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.permission-card-modern.active .card-icon {
    color: var(--primary);
}


.plugin-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.plugin-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.plugin-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--panel-light);
    border: 1px solid var(--border);
    transition: .3s;
    border-radius: 26px;
}

.plugin-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: var(--text-secondary);
    transition: .3s;
    border-radius: 50%;
}

input:checked+.plugin-slider {
    background-color: var(--primary);
    border-color: var(--primary);
}

input:checked+.plugin-slider:before {
    transform: translateX(22px);
    background-color: white;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--panel-light);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
    border-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(20px);
}


.sidebar {
    width: 280px;
    background: #0d1117;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 50;
}

.sidebar-header {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-actions-top {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.btn-sidebar-top {
    flex: 1;
    background: var(--panel-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-sidebar-top:hover {
    background: var(--border);
    transform: translateY(-1px);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.sidebar-brand img {
    width: 38px;
    height: 38px;
}

.server-switch-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
}

.server-switch-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.server-switch-name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links {
    padding: 8px 16px 24px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-links {
    padding: 0 16px 24px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 24px 12px 8px;
    letter-spacing: 0.05em;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-secondary);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link i {
    font-size: 1rem;
    width: 20px;
    opacity: 0.7;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-weight: 600;
}

.nav-link[data-new="true"]::after {
    content: "NEW";
    font-size: 0.6rem;
    font-weight: 900;
    background: #ff4757;
    color: white;
    padding: 1px 4px;
    border-radius: 4px;
    margin-left: auto;
}


.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
    z-index: 100;
    
}


.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 100;
    transition: all 0.3s ease;
    background: transparent;
}

.landing-header.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.landing-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.landing-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.landing-nav a:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .landing-nav {
        display: none;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}


.landing-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s;
    pointer-events: auto;
    
}

.landing-profile:hover {
    border-color: var(--text-secondary);
}

.landing-profile:hover {
    border-color: var(--text-secondary);
}


.sidebar-banners .banner {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.sidebar-banners .banner:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.sidebar-banners .banner-warning {
    border-left: 3px solid #f97316 !important;
}

.sidebar-banners .banner-success {
    border-left: 3px solid #22c55e !important;
}

.sidebar-banners .banner-info {
    border-left: 3px solid #3b82f6 !important;
}


.landing-profile i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.profile-dropdown.open .landing-profile i.fa-chevron-down {
    transform: rotate(180deg);
}

.profile-dropdown {
    position: relative;
    
}

.profile-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    
    right: 0;
    background: #18181b;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    width: 220px;
    flex-direction: column;
    gap: 4px;
    z-index: 200;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.2s ease-out;
}


.profile-dropdown.open .profile-dropdown-menu {
    display: flex;
}

.server-switch-menu {
    left: 0;
    right: auto;
    width: 100%;
    min-width: 260px;
    
}

.profile-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text);
}

.profile-dropdown-menu a:hover,
.profile-dropdown-menu a.active {
    background: var(--panel-light);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}


.hero-section {
    text-align: center;
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 32px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}


.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .text-gradient,
.logo-text-gradient,
.footer-brand .text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
    line-height: 1.6;
}


.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}


.stats-bar {
    margin-top: 40px;
    margin-bottom: 120px;
    padding: 0 24px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}


.features-section {
    padding: 100px 24px;
    background: transparent;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 900px) {
    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .feature-block>div:nth-child(1) {
        order: 2;
    }

    
    .feature-block ul {
        justify-content: center;
    }

    
}


.feature-image-container {
    position: relative;
    
    perspective: 1000px;
}

.feature-image-glow {
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0.1;
    filter: blur(40px);
    z-index: 1;
    border-radius: 24px;
}

.feature-image {
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
    
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    background: var(--panel);
}


.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-tilt {
    transition: transform 0.3s ease;
}

.hover-tilt-reverse {
    transition: transform 0.3s ease;
}


.landing-footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    margin: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 48px);
}

.footer-bottom span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
}




.social-links a {
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--text);
}


.module-card {
    transition: transform 0.2s, border-color 0.2s;
}

.module-card:hover {
    transform: translateY(-4px);
}

.module-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.module-body {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
}



.role-selector {
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    
}

.selected-roles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 28px;
}

.add-role-btn {
    width: 100%;
    border: 1px dashed var(--border);
    background: transparent;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.add-role-btn:hover {
    border-color: var(--text);
    color: var(--text);
}

.role-dropdown {
    position: absolute;
    
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 8px;
    z-index: 50;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    display: none;
    
    flex-direction: column;
    gap: 8px;
}

.role-search {
    width: 100%;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: white;
}

.role-options {
    max-height: 200px;
    overflow-y: auto;
}

.role-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.role-option:hover {
    background: var(--panel-light);
}

.role-option.selected {
    opacity: 0.5;
    pointer-events: none;
}


.role-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.role-chip .remove-role {
    cursor: pointer;
    opacity: 0.7;
    margin-left: 4px;
}

.role-chip .remove-role:hover {
    opacity: 1;
}

.color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}


.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 16px 20px;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 0.95rem;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}


.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}


.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--destructive) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.fs-4 {
    font-size: 1.5rem !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

.fs-6 {
    font-size: 1rem !important;
}

.fs-7 {
    font-size: 0.85rem !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.d-flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.w-100 {
    width: 100% !important;
}

.rounded-3 {
    border-radius: var(--radius-sm) !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}


.collapsible-header {
    padding: 16px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: background 0.2s;
    background: rgba(15, 20, 32, 0.85);
}

.collapsible-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.collapsible-content-inner {
    padding: 24px;
    border-top: 1px solid var(--border);
}

.collapsible-section.open .collapsible-content {
    max-height: 2000px;
}


.stats-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1000px) {
    .stats-layout {
        grid-template-columns: 1fr;
    }
}


.collapsible-section {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s;
}

.collapsible-section:hover {
    border-color: var(--primary);
}

.collapsible-header {
    background: transparent;
    padding: 16px 20px;
    
    display: flex;
    align-items: center;
    
    min-height: 60px;
    
}


.collapsible-header h3 {
    font-size: 1rem !important;
    
    margin: 0 !important;
    
    line-height: 1.2;
}


.nav-section {
    margin-bottom: 30px;
}

.nav-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-section-header:hover {
    color: var(--text);
}

.nav-section-header i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-section.open .nav-section-header i {
    transform: rotate(0deg);
}

.nav-section:not(.open) .nav-section-header i {
    transform: rotate(-90deg);
}

.nav-section-content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 1000px;
    opacity: 1;
}

.nav-section:not(.open) .nav-section-content {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}


.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-selected {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.dropdown-selected:hover {
    border-color: var(--primary);
    background: rgba(88, 101, 242, 0.05);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111113;
    
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.dropdown-options.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-option {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.dropdown-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-option.selected {
    background: rgba(88, 101, 242, 0.1);
    color: var(--primary);
}

.role-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.wamellow-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 40px 60px;
    position: relative;
    overflow: hidden;
}

.wamellow-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}


.wamellow-hero-container.centered {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
}

.wamellow-hero-container.centered .wamellow-hero-content {
    align-items: center;
}

.wamellow-hero-container.centered .wamellow-description {
    max-width: 100%;
}

.wamellow-hero-container.centered .wamellow-buttons-wrapper {
    justify-content: center;
}

@media (max-width: 1024px) {
    .wamellow-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .wamellow-image-grid {
        display: none;
    }
}

.wamellow-hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 1024px) {
    .wamellow-hero-content {
        align-items: center;
    }
}


.star-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
}

.star-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.star-rating .rating-text {
    color: var(--text-muted);
    margin-left: 8px;
}


.wamellow-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.02em;
}


.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 12px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}


.wamellow-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin: 0;
}


.dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}

.dashboard-link:hover {
    color: #818cf8;
}

.dashboard-link i {
    transition: transform 0.2s;
}

.dashboard-link:hover i {
    transform: translateX(4px);
}


.wamellow-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .wamellow-buttons {
        justify-content: center;
    }
}

.wamellow-btn-primary {
    background: var(--primary) !important;
    color: white !important;
    padding: 12px 24px !important;
    font-weight: 500;
    border-radius: 8px !important;
}

.wamellow-btn-primary:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
}

.wamellow-btn-ghost {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text) !important;
    padding: 12px 24px !important;
    font-weight: 500;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
}

.wamellow-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--text-muted) !important;
}


.start-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}


.wamellow-image-grid {
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    transform: rotate(6deg);
    max-width: 400px;
}


.floating-grid.staggered .grid-item:nth-child(n+5):nth-child(-n+8) {
    transform: translateX(25px);
}

.floating-grid.staggered .grid-item:nth-child(n+9) {
    transform: translateX(-15px);
}

.grid-item {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #1a1a2e;
}

.grid-item:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.25);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.floating-grid .grid-item:nth-child(1) {
    animation: float1 6s ease-in-out infinite;
}

.floating-grid .grid-item:nth-child(2) {
    animation: float2 5s ease-in-out infinite 0.5s;
}

.floating-grid .grid-item:nth-child(3) {
    animation: float1 7s ease-in-out infinite 1s;
}

.floating-grid .grid-item:nth-child(4) {
    animation: float2 6s ease-in-out infinite 0.3s;
}

.floating-grid .grid-item:nth-child(5) {
    animation: float1 5s ease-in-out infinite 0.8s;
}

.floating-grid .grid-item:nth-child(6) {
    animation: float2 6s ease-in-out infinite 1.2s;
}

.floating-grid .grid-item:nth-child(7) {
    animation: float1 7s ease-in-out infinite 0.6s;
}

.floating-grid .grid-item:nth-child(8) {
    animation: float2 5s ease-in-out infinite 1.5s;
}

.floating-grid .grid-item:nth-child(9) {
    animation: float1 6s ease-in-out infinite 0.2s;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}




.hero-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #a78bfa;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-feature-badge i {
    color: #fbbf24;
}


.wamellow-title {
    font-size: clamp(3.5rem, 6vw, 5rem);
}


.wamellow-description {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 520px;
}


.wamellow-buttons-wrapper {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .wamellow-buttons-wrapper {
        justify-content: center;
    }
}

.button-with-hint {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.button-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.7;
    animation: bounceHint 2s ease-in-out infinite;
}

.button-hint i {
    font-size: 0.9rem;
}

.button-hint.hint-left {
    color: var(--text-muted);
}

.button-hint.hint-right {
    color: #a78bfa;
}

@keyframes bounceHint {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}


.interactive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
}

.interactive-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: floatItem 4s ease-in-out infinite;
}

.interactive-item:nth-child(1) {
    animation-delay: 0s;
}

.interactive-item:nth-child(2) {
    animation-delay: 0.3s;
}

.interactive-item:nth-child(3) {
    animation-delay: 0.6s;
}

.interactive-item:nth-child(4) {
    animation-delay: 0.9s;
}

.interactive-item:nth-child(5) {
    animation-delay: 0s;
}

.interactive-item:nth-child(6) {
    animation-delay: 0.5s;
}

.interactive-item:nth-child(7) {
    animation-delay: 1s;
}

.interactive-item:nth-child(8) {
    animation-delay: 0.2s;
}

.interactive-item:nth-child(9) {
    animation-delay: 0.7s;
}

@keyframes floatItem {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.interactive-item:hover {
    background: rgba(var(--accent), 0.15);
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    border-color: var(--accent);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.interactive-item i {
    font-size: 1.8rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.interactive-item:hover i {
    transform: scale(1.2);
}

.interactive-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}

.interactive-item:hover span {
    color: var(--text);
}

.interactive-item.large {
    grid-column: span 1;
    padding: 32px;
}

.interactive-item.large i {
    font-size: 2.5rem;
}

.interactive-item.large span {
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .interactive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .interactive-item.large {
        grid-column: span 2;
    }
}


.grid-item.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 12px 8px;
}

.grid-item.feature-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.grid-item.feature-card span {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
}

.grid-item.feature-card:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.grid-item.feature-card:hover i {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

.grid-item.feature-card:hover span {
    color: var(--text);
}


.feature-image-container {
    position: relative;
    cursor: pointer;
}

.feature-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius);
    pointer-events: none;
}

.feature-image-overlay i {
    font-size: 2rem;
    color: white;
}

.feature-image-container:hover .feature-image-overlay {
    opacity: 1;
}


.feature-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feature-lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.feature-lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    text-align: center;
    max-width: 600px;
}

.lightbox-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
}

.lightbox-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}


.stats-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1200px) {
    .stats-layout {
        grid-template-columns: 1fr;
    }
}


.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


.stats-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 992px) {
    .stats-layout {
        grid-template-columns: 1fr;
    }
}


.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}




.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}


.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 40;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 1024px) {
    .stats-layout {
        grid-template-columns: 1fr;
        
        gap: 24px;
    }
}

@media (max-width: 768px) {

    
    .app-container {
        flex-direction: column;
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }

    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        width: 280px;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    
    .top-bar {
        justify-content: space-between;
        margin-bottom: 24px;
        gap: 8px;
        
    }

    .landing-header {
        padding: 12px 20px;
        
    }

    .landing-header.scrolled {
        padding: 10px 20px;
    }

    .header-actions {
        gap: 8px;
        
    }

    .logo {
        font-size: 1.1rem;
        
        gap: 8px;
    }

    .logo-img {
        width: 28px;
        height: 28px;
    }

    .landing-profile {
        padding: 4px 8px;
        
        gap: 6px;
        font-size: 0.85rem;
    }

    .landing-profile span {
        max-width: 80px;
        
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    
    @media (max-width: 480px) {
        .logo span {
            display: none;
            
        }

        .landing-profile span {
            display: none;
            
        }

        .landing-profile {
            padding: 4px;
            border-radius: 50%;
            
        }
    }

    .mobile-menu-btn {
        display: block;
        padding: 4px;
    }

    
    .page-title h1 {
        font-size: 1.5rem !important;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .page-header>div:last-child {
        width: 100%;
        justify-content: flex-start;
    }

    
    .form-group>div[style*="display: flex"] {
        flex-direction: column;
    }

    
    .btn-preset {
        font-size: 0.8rem;
    }

    
    .save-bar {
        width: calc(100% - 32px);
        min-width: 0;
        bottom: 16px;
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
        border-radius: 12px;
    }

    .save-bar-content {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 0.85rem;
        gap: 8px;
    }

    .save-bar-actions {
        width: 100%;
        gap: 10px;
    }

    .save-bar-actions button {
        flex: 1;
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .save-bar-actions .btn-ghost {
        display: none;
        
    }

    
    .grid-auto-fit {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: auto;
    }

    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}


@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 280px;
        z-index: 1000;
    }

    .sidebar.active {
        transform: translateX(0);
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
    }

    .main-content {
        margin-left: 0 !important;
        padding: 20px !important;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        color: var(--text);
        cursor: pointer;
    }

    .top-bar {
        justify-content: space-between;
    }

    .hero-greeting h1 {
        font-size: 2rem;
    }
}

.mobile-toggle {
    display: none;
}

@media (max-width: 768px) {
    .module-grid {
        grid-template-columns: 1fr;
    }

    .quick-stats-grid {
        grid-template-columns: 1fr;
    }

    .page-title h2 {
        font-size: 1.25rem;
    }
}


.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.breadcrumb-item.parent {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text);
    font-weight: 700;
}

.breadcrumb-separator {
    opacity: 0.3;
    font-size: 0.8rem;
}

#app-content {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#app-content.loading {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.nav-link.loading i {
    animation: fa-spin 2s infinite linear;
}

@keyframes spa-progress {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.spa-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    z-index: 20000;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary);
}


.enhanced-select-container {
    position: relative;
    width: 100%;
}

.enhanced-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
}

.enhanced-select-trigger:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.enhanced-select-trigger.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.2);
}

.enhanced-select-value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.enhanced-select-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 1rem;
}

.enhanced-select-arrow {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    transition: transform 0.2s ease;
}

.enhanced-select-trigger.active .enhanced-select-arrow {
    transform: rotate(180deg);
}

.enhanced-select-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: #18191c;
    
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: selectMenuFade 0.2s ease-out;
}

@keyframes selectMenuFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enhanced-select-menu.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.enhanced-select-search-wrapper {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.enhanced-select-search {
    width: 100%;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
}

.enhanced-select-search:focus {
    outline: none;
    border-color: var(--primary);
}

.enhanced-select-options {
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
}


.enhanced-select-options::-webkit-scrollbar {
    width: 6px;
}

.enhanced-select-options::-webkit-scrollbar-track {
    background: transparent;
}

.enhanced-select-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.enhanced-select-options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.enhanced-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
    gap: 12px;
}

.enhanced-select-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.enhanced-select-option.selected {
    background: rgba(88, 101, 242, 0.1);
}

.enhanced-select-option.selected .enhanced-select-option-label {
    color: var(--primary);
}

.enhanced-select-option-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.enhanced-select-option-label {
    font-size: 0.95rem;
    font-weight: 500;
}

.enhanced-select-option-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted-foreground);
    font-size: 0.8rem;
}

.enhanced-select-container select.hidden-original {
    display: none !important;
}


.role-icon {
    color: var(--muted-foreground);
}

.channel-icon {
    color: var(--muted-foreground);
}