:root {
    --primary: #33508c;
    
    --primary-hover: #263d6b;
    --accent: #3498db;
    --danger: #e74c3c;
    --danger-hover: #c0392b;
    --success: #2ecc71;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --border: #e2e8f0;
    --bg: #ffffff;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: #333;
    margin: 0;
    padding: 0;
}


.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 0 30px;
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand i {
    color: var(--primary);
    font-size: 24px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}


.app-container {
    display: flex;
    min-height: calc(100vh - 65px);
}


.sidebar {
    width: 250px;
    background-color: #ffffff;
    border-right: 1px solid var(--border);
    padding-top: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.02);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    padding: 15px 25px;
    cursor: pointer;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-menu li:hover {
    background-color: var(--light-gray);
    color: var(--primary);
}

.sidebar-menu li.active {
    background-color: #eff6ff;
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-menu li i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}


.main-content {
    flex: 1;
    padding: 30px 40px;
    overflow-y: auto;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
}

h1,
h2,
h3 {
    color: var(--dark);
    margin-top: 0;
    font-weight: 600;
}

.page-title {
    margin-bottom: 25px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}


.stats-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.stat-box {
    flex: 1;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    border-bottom-width: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-box .title {
    color: var(--gray);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stat-box h3 {
    margin: 0;
    font-size: 2.5em;
    color: var(--dark);
}


table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 14px 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

th {
    background-color: var(--light-gray);
    color: var(--gray);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}

tr:hover {
    background-color: #fbfcfc;
}


.btn {
    padding: 10px 18px;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-danger {
    background-color: var(--danger);
}

.btn-danger:hover {
    background-color: var(--danger-hover);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: #eff6ff;
    color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: none;
}

input,
select {
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #333;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}


.badge {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.badge-red {
    background-color: #fee2e2;
    color: #ef4444;
    border: 1px solid #fca5a5;
}

.badge-green {
    background-color: #d1fae5;
    color: var(--success);
    border: 1px solid #6ee7b7;
}

.badge-blue {
    background-color: #e0f2fe;
    color: var(--primary);
    border: 1px solid #93c5fd;
}

.badge-yellow {
    background-color: #fef3c7;
    color: #f59e0b;
    border: 1px solid #fcd34d;
}

.badge-orange {
    background-color: #ffedd5;
    color: #d97706;
    border: 1px solid #fcd34d;
}

.badge-purple {
    background-color: #f3e8ff;
    color: #9333ea;
    border: 1px solid #d8b4fe;
}

.admin-only {
    display: none;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.pagination-btn {
    padding: 6px 12px;
    border: 1px solid var(--border);
    background-color: var(--white);
    color: var(--dark);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background-color: var(--light);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--light);
}

.pagination-info {
    font-size: 13px;
    color: var(--gray);
}


.hidden {
    display: none !important;
}

.text-muted {
    color: var(--gray);
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


#login-section {
    max-width: 420px;
    margin: 100px auto;
    padding: 40px;
}


.license-banner {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.license-banner i {
    font-size: 20px;
    color: var(--success);
}

.license-banner.expired {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.license-banner.expired i {
    color: var(--danger);
}


.landing-section {
    display: block;
}

.hero {
    background: linear-gradient(135deg, #1e293b 0%, #33508c 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero .btn-hero {
    padding: 15px 40px;
    font-size: 18px;
    background-color: var(--accent);
    border: none;
    box-shadow: 0 4px 14px 0 rgba(52, 152, 219, 0.39);
}

.hero .btn-hero:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}


.slider-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #1e293b;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 41, 59, 0.7), rgba(51, 80, 140, 0.7));
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.slide h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
}

.slide p {
    font-size: 18px;
    color: #cbd5e1;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}


.install-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.step-item {
    text-align: center;
    flex: 1;
    max-width: 150px;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.step-item span {
    font-size: 14px;
    font-weight: 600;
    display: block;
}


.contact-section {
    padding: 80px 20px;
    background: white;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.discord-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.discord-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.discord-card i {
    font-size: 64px;
    color: #5865F2;
}

.discord-card h3 {
    font-size: 24px;
    margin: 0;
}

.discord-link {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.2s;
}

.discord-link:hover {
    background: var(--primary);
    color: white;
}


.doc-section {
    display: none;
    max-width: 900px;
    margin: 40px auto;
    padding: 60px;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    font-family: 'Georgia', serif;
    line-height: 1.8;
    color: #2c3e50;
}

.doc-section h1 {
    font-family: 'Georgia', serif;
    font-size: 36px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.doc-section h2 {
    font-family: 'Georgia', serif;
    font-size: 22px;
    margin-top: 30px;
    color: #34495e;
}

.doc-section p {
    margin-bottom: 15px;
    font-size: 17px;
}

.features {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .navbar {
        padding: 0 15px;
    }

    .navbar-menu-main {
        display: none;
    }
}

.navbar-menu-main {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-weight: 600;
    transition: color 0.2s;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}