:root {
    --bg-dark: #07090d;
    --card-bg: rgba(12, 18, 30, 0.6);
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --primary-color: #1daef2;
    --secondary-color: #136ab8;
    --accent-color: #269ce3;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border-color: rgba(29, 174, 242, 0.2);
    --glass-border: rgba(29, 174, 242, 0.15);
    --nav-bg: rgba(7, 9, 13, 0.8);
    --input-bg: rgba(7, 9, 13, 0.8);
}

.discord-logging-btn {
    background: #5865F2 !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.discord-logging-btn:hover {
    background: #4752C4 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4) !important;
}

.discord-logging-btn i {
    margin: 0 !important;
    color: white !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at 50% 50%,
            #051525 0%,
            #030e1a 35%,
            #020810 65%,
            #010306 100%);
    background-size: 400% 400%;
    animation: bgRandom1 70s ease-in-out infinite;
    z-index: -3;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 70% 70% at 50% 50%,
            rgba(29, 174, 242, 0.07) 0%,
            rgba(14, 80, 200, 0.04) 40%,
            transparent 70%);
    background-size: 400% 400%;
    animation: bgRandom2 55s ease-in-out infinite;
    z-index: -2;
    pointer-events: none;
}

.bg-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 3px,
            rgba(0, 0, 0, 0.025) 3px,
            rgba(0, 0, 0, 0.025) 4px);
    z-index: -1;
    pointer-events: none;
}

.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0;
    will-change: transform, opacity;
}

.orb-1 {
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(29, 174, 242, 0.7) 0%, rgba(29, 174, 242, 0.2) 60%, transparent 100%);
    top: -15%;
    left: -8%;
    animation: orbFloat1 28s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.orb-2 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(38, 130, 240, 0.6) 0%, rgba(38, 130, 240, 0.2) 60%, transparent 100%);
    bottom: -12%;
    right: -8%;
    animation: orbFloat2 34s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.orb-3 {
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, rgba(14, 80, 200, 0.45) 0%, rgba(14, 80, 200, 0.15) 60%, transparent 100%);
    top: 35%;
    left: 40%;
    animation: orbFloat3 40s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes bgRandom1 {
    0% {
        background-position: 50% 50%;
    }

    8% {
        background-position: 20% 10%;
    }

    16% {
        background-position: 80% 30%;
    }

    24% {
        background-position: 10% 70%;
    }

    32% {
        background-position: 90% 80%;
    }

    40% {
        background-position: 40% 20%;
    }

    48% {
        background-position: 60% 90%;
    }

    56% {
        background-position: 15% 50%;
    }

    64% {
        background-position: 85% 10%;
    }

    72% {
        background-position: 30% 85%;
    }

    80% {
        background-position: 70% 40%;
    }

    88% {
        background-position: 5% 25%;
    }

    96% {
        background-position: 95% 60%;
    }

    100% {
        background-position: 50% 50%;
    }
}

@keyframes bgRandom2 {
    0% {
        background-position: 75% 25%;
    }

    10% {
        background-position: 55% 85%;
    }

    20% {
        background-position: 5% 40%;
    }

    30% {
        background-position: 95% 15%;
    }

    40% {
        background-position: 25% 95%;
    }

    50% {
        background-position: 65% 5%;
    }

    60% {
        background-position: 35% 60%;
    }

    70% {
        background-position: 90% 45%;
    }

    80% {
        background-position: 10% 20%;
    }

    90% {
        background-position: 80% 75%;
    }

    100% {
        background-position: 75% 25%;
    }
}

@keyframes orbFloat1 {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.38;
    }

    25% {
        transform: translate(40px, -30px) scale(1.06);
        opacity: 0.45;
    }

    50% {
        transform: translate(80px, 20px) scale(0.95);
        opacity: 0.32;
    }

    75% {
        transform: translate(20px, 60px) scale(1.08);
        opacity: 0.48;
    }

    100% {
        transform: translate(100px, 40px) scale(1.03);
        opacity: 0.40;
    }
}

@keyframes orbFloat2 {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.35;
    }

    30% {
        transform: translate(-50px, 30px) scale(1.05);
        opacity: 0.42;
    }

    60% {
        transform: translate(-20px, -40px) scale(0.97);
        opacity: 0.30;
    }

    100% {
        transform: translate(-80px, 50px) scale(1.1);
        opacity: 0.40;
    }
}

@keyframes orbFloat3 {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.28;
    }

    25% {
        transform: translate(-47%, -53%) scale(1.04);
        opacity: 0.35;
    }

    50% {
        transform: translate(-53%, -47%) scale(0.96);
        opacity: 0.22;
    }

    75% {
        transform: translate(-48%, -50%) scale(1.07);
        opacity: 0.32;
    }

    100% {
        transform: translate(-52%, -52%) scale(1.02);
        opacity: 0.28;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header.navbar {
    background: rgba(10, 10, 26, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(59, 130, 246, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.03);
    height: 70px;
}

.navbar-system-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.navbar-system-status:hover {
    color: var(--text-color);
}

.navbar-system-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--text-muted);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12);
    flex-shrink: 0;
}

.navbar-system-status.is-loading {
    color: var(--text-muted);
}

.navbar-system-status.is-loading .navbar-system-status-dot {
    background: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 174, 242, 0.14), 0 0 12px rgba(29, 174, 242, 0.65);
    animation: navbar-status-loading-pulse 1.2s ease-in-out infinite;
}

.navbar-system-status-loader {
    display: inline-flex;
    color: var(--primary-color);
    font-size: 0.72rem;
    animation: navbar-status-loader-spin 1s linear infinite;
}

.navbar-system-status-text-loading {
    opacity: 0.75;
}

@keyframes navbar-status-loader-spin {
    to { transform: rotate(360deg); }
}

@keyframes navbar-status-loading-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

.navbar-system-status.is-operational {
    color: var(--success);
}

.navbar-system-status.is-operational .navbar-system-status-dot {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14), 0 0 10px rgba(16, 185, 129, 0.65);
}

.navbar-system-status.has-issues {
    color: var(--danger);
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.55);
    animation: navbar-status-alert 1.15s ease-in-out infinite;
}

.navbar-system-status.has-issues .navbar-system-status-dot {
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18), 0 0 16px rgba(239, 68, 68, 0.95);
    animation: navbar-status-dot-alert 0.8s ease-in-out infinite;
}

@keyframes navbar-status-alert {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@keyframes navbar-status-dot-alert {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}

body.fixed-layout {
    overflow: hidden !important;
    height: 100vh !important;
}

body.fixed-layout .app-container {
    height: 100vh;
    overflow: hidden;
    
}

body.fixed-layout .dashboard-container {
    height: calc(100vh - 70px);
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

body.fixed-layout .main-wrapper {
    overflow: hidden;
}

body.fixed-layout .main-wrapper>main.content {
    height: calc(100vh - 70px);
    overflow-y: auto;
    padding-bottom: 0;
}

body.fixed-layout .sidebar {
    height: 100%;
    overflow-y: auto;
    position: relative;
    top: 0;
}

body.fixed-layout .server-content {
    height: 100%;
    overflow-y: auto;
    flex: 1;
}

body.fixed-layout .sidebar::-webkit-scrollbar,
body.fixed-layout .server-content::-webkit-scrollbar,
body.fixed-layout .main-wrapper>main.content::-webkit-scrollbar {
    width: 6px;
}

body.fixed-layout .sidebar::-webkit-scrollbar-track,
body.fixed-layout .server-content::-webkit-scrollbar-track,
body.fixed-layout .main-wrapper>main.content::-webkit-scrollbar-track {
    background: transparent;
}

body.fixed-layout .sidebar::-webkit-scrollbar-thumb,
body.fixed-layout .server-content::-webkit-scrollbar-thumb,
body.fixed-layout .main-wrapper>main.content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

body.fixed-layout .sidebar::-webkit-scrollbar-thumb:hover,
body.fixed-layout .server-content::-webkit-scrollbar-thumb:hover,
body.fixed-layout .main-wrapper>main.content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
    body.fixed-layout .dashboard-container {
        flex-direction: column;
        overflow-y: auto;
    }

    header.navbar {
        padding: 0.6rem 1rem;
    }

    .nav-links {
        display: none;
    }

    .sidebar-toggle-btn {
        display: flex !important;
    }

    .sidebar {
        position: fixed !important;
        left: -280px;
        top: 70px;
        bottom: 0;
        width: 280px;
        z-index: 1100;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: var(--card-bg);
        border-right: 1px solid var(--border-color);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        top: 70px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 1050;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .server-content {
        padding: 1rem !important;
        width: 100% !important;
    }
}

.logo-text-shield {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: #fff;
    letter-spacing: -0.2px;
}

.logo-divider {
    color: rgba(255, 255, 255, 0.15);
    margin: 0 0.75rem;
    font-weight: 300;
}

.logo-status {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.logo-img {
    height: 54px;
    max-width: 300px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

nav a.nav-link {
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
}

nav a.nav-link i {
    font-size: 0.95rem;
    opacity: 0.8;
}

nav a.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.user-menu {
    position: relative;
    margin-left: 0.5rem;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.6rem 0.35rem 0.35rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-color);
}

.user-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.activity-icon-container {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.btn-activity-refresh {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.btn-activity-refresh:hover {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.filter-badge-container {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding-left: 0.75rem;
    overflow: hidden;
}

.active-filter-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-remove-btn:hover {
    color: var(--danger);
    background: rgba(248, 81, 73, 0.1);
}

.user-avatar-wrapper {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-brief {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-info-brief .username {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.user-info-brief i {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.user-menu-toggle:hover i {
    color: #fff;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: rgba(16, 20, 28, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    width: max-content;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.dropdown-header {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dropdown-user-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: -0.3px;
}

.dropdown-header .role-badge {
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
    border-radius: 6px;
}

.dropdown-user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.form-control {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    width: 100%;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    color-scheme: dark;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    background-color: var(--card-bg);
}

select.form-control option {
    background: var(--bg-color);
    color: var(--text-color);
}

input[type=number].form-control::-webkit-inner-spin-button,
input[type=number].form-control::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number].form-control {
    -moz-appearance: textfield;
}

.custom-number-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.custom-number-wrapper input[type=number] {
    padding-right: 2.5rem;
}

.custom-spinner-controls {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    width: 2rem;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
}

.spinner-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    font-size: 0.6rem;
    color: var(--text-muted);
    transition: all 0.1s;
}

.spinner-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.spinner-btn.up {
    border-top-right-radius: 6px;
    border-bottom: 1px solid var(--border-color);
}

.spinner-btn.down {
    border-bottom-right-radius: 6px;
}

.btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding: 0.25rem;
}

.btn-icon:hover {
    background: transparent;
    transform: scale(1.15) translateY(-1px);
}

.btn-icon:active {
    transform: scale(0.95);
}

.btn-icon i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-icon:hover .fa-pen {
    transform: rotate(-15deg);
    color: var(--primary-color) !important;
}

.btn-icon:hover .fa-eye {
    color: var(--primary-color) !important;
    transform: scale(1.1);
}

.btn-icon:hover .fa-rotate,
.btn-icon:hover .fa-sync {
    color: var(--warning) !important;
    transform: rotate(180deg);
}

.btn-icon:hover .fa-trash {
    color: #ff4d4d !important;
    animation: trash-shake 0.4s ease-in-out infinite alternate;
}

@keyframes trash-shake {
    0% {
        transform: rotate(-5deg) scale(1.1);
    }

    100% {
        transform: rotate(5deg) scale(1.1);
    }
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.btn:disabled,
.btn.disabled,
.expired-link {
    opacity: 0.5;
    cursor: not-allowed !important;
    filter: grayscale(0.5);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3b3b3b;
    transition: .3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #e6edf3;
    transition: .3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

input:checked+.toggle-slider {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

.cron-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    background: rgba(13, 17, 23, 0.5);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.cron-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.cron-item label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cron-item input {
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 6px;
    padding: 0.6rem 0.2rem;
    color: var(--text-color);
    width: 100%;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.cron-item input:focus {
    border-color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.2);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-muted);
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    padding-left: 1.4rem;
}

.dropdown-item i {
    width: 16px;
    font-size: 1rem;
    transition: color 0.2s;
}

.dropdown-item.staff-item {
    color: var(--primary-color);
    background: rgba(88, 166, 255, 0.05);
}

.dropdown-item.staff-item:hover {
    background: rgba(88, 166, 255, 0.1);
}

.dropdown-item.logout-item:hover {
    color: var(--danger);
    background: rgba(248, 81, 73, 0.05);
}

.dropdown-item.logout-item:hover i {
    color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.25rem 0;
}

.content {
    flex: 1;
    padding: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.dashboard-header {
    margin-bottom: 2rem;
    text-align: center;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.server-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15), 0 0 40px rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.server-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--warning);
    box-shadow: 0 0 8px var(--warning);
}

.status-indicator.online {
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
}

.status-indicator.offline {
    background-color: var(--danger);
    box-shadow: 0 0 8px var(--danger);
}

.card-body {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resource-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-footer {
    margin-top: auto;
}

.server-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 968px) {
    .server-grid-2col {
        grid-template-columns: 1fr;
    }
}

.server-card-vertical {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.server-card-vertical:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.server-banner-image {
    position: relative;
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #0ea5e9 100%);
    background-size: cover;
    background-position: center;
}

.server-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 26, 0.8));
}

.status-badge-corner {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.status-badge-corner.status-running {
    background: rgba(46, 160, 67, 0.9);
    color: white;
}

.status-badge-corner.status-offline {
    background: rgba(139, 148, 158, 0.9);
    color: white;
}

.status-badge-corner.status-starting {
    background: rgba(216, 153, 34, 0.9);
    color: white;
}

.server-card-body {
    padding: 1.5rem;
}

.server-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-box .stat-value {
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
    font-family: monospace;
    display: block;
    margin-top: 0.25rem;
}

.banner-settings-btn {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
    opacity: 0;
}

.server-card-vertical:hover .banner-settings-btn {
    opacity: 1;
}

.banner-settings-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.premium-upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.premium-upload-zone:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.premium-upload-zone i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.premium-upload-zone:hover i {
    transform: scale(1.1);
}

.banner-preview-frame {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    background-color: #1a1b1e;
}

.banner-preview-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.banner-preview-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    border-radius: 4px;
}

.modal-close:hover {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 1.25rem 2rem;
}

.info-table td:first-child {
    width: 35%;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    filter: brightness(1.1);
}

.btn-success {
    background: linear-gradient(135deg, #059669, var(--success));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-success:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    filter: brightness(1.1);
}

.btn-warning {
    background: linear-gradient(135deg, #d97706, var(--warning));
    color: #0a0a1a;
    border: none;
    font-weight: 600;
}

.btn-warning:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    filter: brightness(1.1);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, var(--danger));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.btn-danger:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    filter: brightness(1.1);
}

.btn-purple {
    background: #3b82f6;
    color: white;
}

.btn-purple:hover {
    background-color: #60a5fa;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.editor-icon-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0;
}

.editor-icon-btn:hover {
    transform: scale(1.15);
    background: transparent;
    color: #fff;
}

.editor-icon-btn.save:hover {
    color: var(--success);
    filter: drop-shadow(0 0 5px var(--success));
    background: transparent;
    box-shadow: none;
}

.editor-icon-btn.discard:hover {
    color: var(--danger);
    filter: drop-shadow(0 0 5px var(--danger));
    background: transparent;
}

.editor-icon-btn i {
    font-size: 1.4rem;
    margin: 0;
}

#btn-editor-back {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#btn-editor-back i {
    font-size: 1.8rem;
}

#btn-editor-back:hover {
    background: transparent;
    color: #fff;
    transform: scale(1.15);
}

#btn-editor-back.text-danger-icon {
    color: var(--danger) !important;
    background: transparent !important;
    filter: drop-shadow(0 0 5px var(--danger));
    animation: none;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(1);
    pointer-events: none;
}

.server-details-container {
    max-width: 900px;
    margin: 0 auto;
}

.server-header {
    margin-bottom: 2rem;
}

.back-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.control-panel {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.power-controls {
    display: flex;
    gap: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-value {
    font-weight: 700;
    font-size: 1.2rem;
}

.console-box {
    background: #000;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', Courier, monospace;
    color: #0f0;
    min-height: 200px;
    border: 1px solid #333;
}

.console-header {
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.8rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 90px);
    width: 100%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 40%),
        var(--bg-dark);
}

.login-container::before,
.login-container::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: float 10s infinite alternate ease-in-out;
}

.login-container::before {
    background: var(--primary-color);
    top: -50px;
    left: -50px;
}

.login-container::after {
    background: var(--secondary-color);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

.login-card {
    background: rgba(22, 27, 34, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 1;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.login-icon-header {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    margin-left: 0.2rem;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 2;
}

.form-control-lg {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 0 20px rgba(59, 130, 246, 0.1);
}

.form-control-lg:focus+.input-icon {
    color: var(--primary-color);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.form-check input {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-check label {
    margin: 0;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    filter: brightness(1.1);
}

.btn-block i {
    transition: transform 0.3s ease;
}

.btn-block:hover i {
    transform: translateX(4px);
}

.btn-block:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.login-footer a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.login-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.login-footer a:hover::after {
    width: 100%;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider::before {
    margin-right: 1rem;
}

.divider::after {
    margin-left: 1rem;
}

.dashboard-container {
    display: flex;
    flex-direction: row;
    min-height: calc(100vh - 70px);
    gap: 0;
    width: 100%;
}

.dashboard-content {
    flex: 1;
    padding: 1.5rem;
    max-width: 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    min-height: 600px;
}

.sidebar-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.5rem;
    z-index: 1100;
}

.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: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.sidebar {
    width: 280px;
    background: rgba(10, 10, 26, 0.5);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 1rem 0 0;
    transition: all 0.3s ease;
    z-index: 1020;
    flex-shrink: 0;
    min-height: 100%;
    
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

@media (max-width: 992px) {
    .sidebar-toggle-btn {
        display: block;
    }

    .sidebar {
        position: fixed;
        left: -280px;
        top: 70px;
        height: calc(100vh - 70px);
        width: 280px;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .sidebar.active {
        left: 0;
    }

    .dashboard-container {
        flex-direction: column;
    }
}

.sidebar-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.server-id {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.sidebar-nav,
.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    gap: 0.25rem;
}

.sidebar-category {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.08rem 0.06rem 0.08rem;
    margin-top: 0.25rem;
    opacity: 0.75;
}

.sidebar-category:first-of-type {
    margin-top: 0;
    padding-top: 0.08rem;
}

.sidebar-nav a,
.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 0.42rem 0.7rem;
    color: var(--text-muted);
    border-radius: 7px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.82rem;
    gap: 0;
}

.sidebar-nav a:hover,
.admin-sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transform: translateX(3px);
}

.sidebar-nav a.active,
.admin-sidebar-nav a.active {
    background: rgba(59, 130, 246, 0.12);
    color: #fff;
    border-left: 3px solid var(--primary-color);
    font-weight: 600;
    box-shadow: inset 5px 0 15px rgba(59, 130, 246, 0.05);
}

.sidebar-nav a i,
.admin-sidebar-nav a i {
    width: 24px;
    margin-right: 10px;
    text-align: center;
}

.sidebar-nav a.active:hover {
    background: rgba(59, 130, 246, 0.15);
}

.sidebar-nav a.disabled-tab {
    opacity: 0.4;
    cursor: not-allowed !important;
    filter: grayscale(1);
    pointer-events: none;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.server-content {
    flex: 1;
    padding: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.server-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -0.63rem;
    margin-bottom: -0.13rem;
    background: var(--card-bg);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

#status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.power-bar {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-indicator-large {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.status-indicator-large i {
    font-size: 0.8rem;
}

.status-indicator-large.online {
    background-color: var(--success);
    box-shadow: 0 0 10px rgba(46, 160, 67, 0.4);
}

.status-indicator-large.offline {
    background-color: var(--danger);
}

.status-indicator-large.starting {
    background-color: var(--warning);
    box-shadow: 0 0 10px rgba(210, 153, 34, 0.4);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.power-actions {
    display: flex;
    gap: 0.8rem;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: rgba(22, 24, 33, 0.6);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.stat-box .label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-box .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-box .limit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.2);
}

.dashboard-container {
    display: flex;
    flex-direction: row;
    min-height: calc(100vh - 70px);
    width: 100%;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.power-card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.power-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.stat-card-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.stat-card-row i {
    font-size: 1.2rem;
    color: var(--text-muted);
    width: 24px;
    text-align: center;
}

.stat-card-row .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-card-row .value {
    font-size: 1rem;
    font-weight: 600;
}

.stat-card-row .value-small {
    font-size: 0.85rem;
    color: var(--text-muted);
    float: right;
    margin-top: 0.2rem;
}

.progress-bar-bg {
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 3px;
    width: 100%;
    margin-top: 0.5rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

#prog-cpu {
    background: var(--primary-color);
}

#prog-mem {
    background: var(--accent-color, #0ea5e9);
}

#prog-disk {
    background: var(--warning);
}

.terminal-container {
    min-height: 0;
    flex-grow: 1;
    border-radius: 8px;
}

.chart-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    height: 400px;
}

.chart-box h4 {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.terminal-container {
    background: #0d0e14;
    border-radius: 8px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    padding: 4px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 100%;
}

.xterm-viewport {
    overflow-y: auto;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.file-row a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.file-row a:hover {
    color: var(--primary-color);
}

.file-row a.folder-link {
    font-weight: 700;
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.text-error {
    color: var(--danger);
    text-align: center;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.terminal-container {
    user-select: text;
    -webkit-user-select: text;
}

.btn-clear-console {
    background: transparent !important;
    border: none !important;
    padding: 0.2rem !important;
    box-shadow: none !important;
}

.btn-clear-console i {
    color: #6c757d;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.btn-clear-console:hover i {
    color: var(--danger) !important;
    transform: scale(0.95);
}

.console-input,
#console-input {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    pointer-events: none !important;
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: -100;
}

.xterm-helper-textarea {
    display: none !important;
    opacity: 0 !important;
    z-index: -100;
}

.file-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

#files.drag-over {
    background: rgba(59, 130, 246, 0.05) !important;
    border: 2px dashed var(--primary-color) !important;
    border-radius: 12px;
}

.editor-container textarea {
    line-height: 1.6;
    tab-size: 4;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
}

.editor-header button {
    padding: 2px 8px !important;
    height: auto !important;
}

#file-editor::placeholder {
    color: #555;
}

#file-editor::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

#file-editor::-webkit-scrollbar-track {
    background: #1e1e1e;
}

#file-editor::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

#file-editor::-webkit-scrollbar-thumb:hover {
    background: #444;
}

.xterm-cursor,
.xterm-cursor-layer,
.xterm-viewport.xterm-cursor-style-block,
.terminal .xterm-cursor-layer {
    display: none !important;
}

.modal-overlay {
    backdrop-filter: blur(5px);
    animation: fadeIn 0.2s ease-out;
}

.detail-item {
    transition: transform 0.1s ease, background 0.2s ease;
}

.detail-item:hover {
    transform: translateX(5px);
}

.detail-value {
    transition: background 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.detail-item:hover .detail-value {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--border-color);
}

.password-censor {
    filter: blur(8px);
    transition: filter 0.3s ease;
    user-select: none;
    display: inline-block;
}

.password-censor:hover {
    filter: blur(0);
    user-select: text;
}

.confirm-modal-content {
    background: #0d1117;
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    padding: 2.5rem;
    width: 440px;
    max-width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.confirm-modal-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.confirm-modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
    letter-spacing: -0.5px;
}

#schedules-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.schedule-row {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 80px;
}

.schedule-row:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.schedule-row .status-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.confirm-modal-text {
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.confirm-modal-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.confirm-modal-actions .btn {
    padding: 0.8rem 2rem;
    font-weight: 700;
    min-width: 140px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.confirm-modal-actions .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.confirm-modal-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
    border-color: #fff;
}

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--card-bg);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    font-size: 0.9rem;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

#file-path-container:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-color) !important;
}

#file-path-container:active {
    background: rgba(255, 255, 255, 0.1) !important;
}

.file-row.selected {
    background: rgba(59, 130, 246, 0.05) !important;
}

.file-checkbox,
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--input-bg);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.file-checkbox:hover,
.custom-checkbox:hover {
    border-color: var(--primary-color);
}

.file-checkbox:checked,
.custom-checkbox:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.file-checkbox:checked::after,
.custom-checkbox:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 10px;
}

#file-action-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #080c10;
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

#file-action-bar.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.counter-digits {
    display: flex;
    position: relative;
    height: 2rem;
    overflow: visible;
    vertical-align: middle;
    min-width: 2ch;
    width: auto;
    padding: 0 0.4rem;
    justify-content: center;
    align-items: center;
}

.digit-rolling {
    display: block;
    text-align: center;
    line-height: 2rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#selected-count {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    line-height: 2rem;
}

@keyframes rollUpOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes rollUpIn {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes rollDownOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes rollDownIn {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.roll-up-out {
    animation: rollUpOut 0.25s ease-in-out forwards;
}

.roll-up-in {
    animation: rollUpIn 0.25s ease-in-out forwards;
}

.roll-down-out {
    animation: rollDownOut 0.25s ease-in-out forwards;
}

.roll-down-in {
    animation: rollDownIn 0.25s ease-in-out forwards;
}

#file-action-bar .btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
}

#file-action-bar .btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

#file-action-bar .btn:active {
    transform: translateY(0) scale(0.98);
}

#file-action-bar .btn i {
    margin-right: 12px;
    font-size: 1.1rem;
}

.context-menu {
    position: fixed;
    z-index: 10000;
    width: 200px;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    padding: 0.6rem 0;
    display: none;
    animation: fadeInScale 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.context-menu-item {
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: all 0.2s;
}

.context-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.context-menu-item.danger:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.context-menu-item i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
    opacity: 0.8;
}

.context-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.5rem 0;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-5px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.info-card-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-card-text h3 {
    font-size: 1.1rem;
    margin: 0 0 0.2rem 0;
    font-weight: 600;
}

.info-card-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.welcome-section {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-text h2 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}

.welcome-text p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.welcome-actions {
    display: flex;
    gap: 0.75rem;
}

.welcome-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.welcome-btn:hover {
    background: var(--primary-color);
    color: white;
}

.discord-btn:hover {
    background: #5865F2;
}

.heart-btn:hover {
    background: #eb4d4b;
}

.welcome-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.welcome-stat-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 180px;
    transition: all 0.2s;
}

.welcome-stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.welcome-stat-item i {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.welcome-stat-text {
    display: flex;
    flex-direction: column;
}

.welcome-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.welcome-stat-value {
    font-weight: 800;
    font-size: 1.4rem;
    color: white;
    line-height: 1.2;
}

.server-card-full-bg {
    position: relative;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    isolation: isolate;
}

.server-card-full-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--banner-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.server-card-full-bg:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.server-card-full-bg:not([style*="--banner-url"]) {
    background: linear-gradient(135deg, #1f6feb 0%, #0d1117 100%);
}

.server-card-overlay-full {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(13, 17, 23, 0.85) 0%, rgba(13, 17, 23, 0.95) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.server-card-full-bg:hover .server-card-overlay-full {
    background: linear-gradient(to bottom, rgba(13, 17, 23, 0.75) 0%, rgba(13, 17, 23, 0.9) 100%);
}

.server-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.server-desc {
    display: none;
}

.role-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.role-owner {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #3b82f6 !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
}

.role-admin {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
}

.role-support {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
}

.role-partner {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.role-booster {
    background: rgba(236, 72, 153, 0.15) !important;
    color: #ec4899 !important;
    border: 1px solid rgba(236, 72, 153, 0.25) !important;
}

.role-vip {
    background: rgba(8, 145, 178, 0.15) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(8, 145, 178, 0.25) !important;
}

.role-supporter {
    background: rgba(8, 178, 17, 0.15) !important;
    color: #138522 !important;
    border: 1px solid rgba(8, 178, 36, 0.25) !important;
}

.role-user {
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.25);
}

.status-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.status-running {
    background: #2ea043 !important;
}

.status-offline {
    background: #e53e3e !important;
}

.status-starting {
    background: #2ea043 !important;
    color: #fff !important;
}

.status-installing {
    background: #f97316 !important;
}

.server-stats-row {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.25rem 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    gap: 0.5rem;
    font-size: 1.15rem;
    align-items: center;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.stat-val {
    color: white;
    font-weight: 600;
    font-family: 'Consolas', monospace;
}

.full-width-btn {
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    background: var(--primary-color);
    border: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.full-width-btn:hover {
    background: #6baefc;
}

.settings-icon-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.2rem;
    transition: color 0.2s, transform 0.2s;
}

.settings-icon-btn:hover {
    color: white;
}

.btn-refresh-artifact {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
}

.btn-refresh-artifact:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.btn-refresh-artifact:active {
    transform: scale(0.9);
}

@media (max-width: 992px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .welcome-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.network-table {
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    margin-top: -0.5rem;
}

.network-row {
    transition: transform 0.2s, background-color 0.2s;
}

.network-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0;
}

.network-row:hover .copy-btn {
    opacity: 1;
}

.copy-btn:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.copy-btn.copied {
    color: var(--success);
    background: rgba(46, 160, 67, 0.1);
}

.badge-primary-modern {
    background: rgba(46, 160, 67, 0.15);
    color: #3fb950;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(46, 160, 67, 0.2);
}

.confirm-modal-content {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 450px;
    max-width: 90%;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--warning);
}

.confirm-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.confirm-modal-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.confirm-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirm-modal-actions .btn {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
}

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 10002;
}

.toast {
    background: #080c10;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(120%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 300px;
    max-width: 450px;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 1.25rem;
}

.toast.success i {
    color: var(--success);
}

.toast.error i,
.toast.danger i {
    color: var(--danger);
}

.toast.info i {
    color: var(--primary-color);
}

.toast.warning i {
    color: var(--warning);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 2px;
    background-color: #666;
    transition: .3s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--primary-color);
}

input:checked+.toggle-slider:before {
    transform: translateX(21px);
    background-color: white;
}

input:disabled+.toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.variable-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.variable-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.variable-card:focus-within {
    border-color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

@keyframes variableIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.variable-card {
    animation: variableIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.variable-card .variable-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

.variable-card .variable-description {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    min-height: 2.3em;
}

.variable-card:hover .variable-description {
    -webkit-line-clamp: unset;
    overflow: visible;
}

@media (min-width: 992px) {
    .variable-card.large {
        grid-column: span 2;
    }
}

.variable-card.large .variable-description {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.premium-field-group {
    position: relative;
    margin-bottom: 2rem;
}

.premium-label {
    position: absolute;
    left: 1.25rem;
    top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left top;
}

.premium-input:focus~.premium-label,
.premium-input:not(:placeholder-shown)~.premium-label {
    transform: translateY(-1.1rem) scale(0.82);
    color: var(--primary-color);
    font-weight: 600;
}

.premium-input:focus {
    border-color: var(--primary-color) !important;
    background: rgba(59, 130, 246, 0.08) !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.toggle-container {
    position: relative;
    display: flex;
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 4px !important;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    isolation: isolate;
}

.toggle-bg {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--primary-color);
    border-radius: 7px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.toggle-btn {
    flex: 1;
    padding: 0.65rem;
    border: none;
    border-radius: 7px;
    background: transparent !important;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2;
    text-align: center;
    font-size: 0.85rem;
}

.toggle-btn.active {
    color: #fff !important;
    box-shadow: none !important;
}

.toggle-btn:hover:not(.active) {
    color: var(--text-color);
}

.toggle-container[data-state="folder"] .toggle-bg {
    transform: translateX(0);
}

.toggle-container[data-state="file"] .toggle-bg {
    transform: translateX(100%);
}

.power-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-power {
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-power i {
    font-size: 1rem;
}

.btn-power.start {
    background-color: var(--success);
}

.btn-power.start:hover {
    background-color: #218838;
    transform: translateY(-1px);
}

.btn-power.restart {
    background-color: var(--primary-color);
}

.btn-power.restart:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.btn-power.stop {
    background-color: var(--warning);
    color: #000 !important;
}

.btn-power.stop:hover {
    background-color: #e0a800;
    transform: translateY(-1px);
}

.btn-power.kill {
    background-color: var(--danger);
}

.btn-power.kill:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

.power-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-clear-console {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-clear-console:hover {
    color: var(--danger);
    border-color: var(--danger);
    background: rgba(220, 53, 69, 0.1);
}

.disabled-nav,
.power-controls.locked {
    cursor: not-allowed !important;
    opacity: 0.5;
    filter: grayscale(0.8);
    position: relative;
    user-select: none;
}

.disabled-nav>*,
.power-controls.locked>* {
    pointer-events: none !important;
}

.login-banner-img {
    max-width: 250px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.auth-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 2000;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.auth-brand {
    flex: 1;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        #07090d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-brand::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    top: -200px;
    left: -200px;
    animation: float 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-brand-content {
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.auth-logo {
    max-width: 80%;
    height: auto;
    max-height: 100px;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
    margin-bottom: 2rem;
    transition: transform 0.5s ease;
}

.auth-logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.auth-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

.auth-form-side {
    flex: 0 0 500px;
    max-width: 100%;
    background: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.2);
}

.auth-header {
    margin-bottom: 3rem;
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.auth-header p {
    color: var(--text-muted);
}

.auth-group {
    margin-bottom: 1.5rem;
}

.auth-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.auth-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.auth-input:focus+.auth-icon {
    color: var(--primary-color);
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
        overflow-y: auto;
    }

    .auth-brand {
        flex: 0 0 200px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .auth-brand::before {
        width: 300px;
        height: 300px;
    }

    .auth-logo {
        max-height: 100px;
        margin-bottom: 0.5rem;
    }

    .auth-text h1 {
        font-size: 1.5rem;
    }

    .auth-text p {
        display: none;
    }

    .auth-form-side {
        flex: 1;
        padding: 2rem;
        box-shadow: none;
    }

    .auth-header {
        margin-bottom: 2rem;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }

}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.auth-container {
    flex-direction: row;
}

.auth-form-side {
    animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 10;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.3);
}

.auth-brand {
    animation: fadeInScale 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.auth-brand img.banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    mask-image: linear-gradient(to right, transparent, black 20%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
}

.auth-brand-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
}

@media (max-width: 900px) {
    .auth-container {
        flex-direction: column-reverse;
    }

    .auth-form-side {
        box-shadow: none;
        animation: slideUp 0.6s ease-out;
    }

    .auth-brand {
        flex: 0 0 150px;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.auth-brand {
    padding: 2rem !important;
    background: var(--bg-dark);
}

.auth-brand img.banner-bg {
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    height: 100% !important;
    width: 100% !important;
}

.auth-container {
    align-items: center;
    justify-content: center;
    background: rgba(13, 17, 23, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex !important;
    flex-direction: row !important;
}

.auth-card {
    width: 100%;
    max-width: 1000px;
    height: 600px;
    background: var(--card-bg);
    display: flex !important;
    flex-direction: row !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.auth-card .auth-form-side {
    flex: 1;
    padding: 3rem;
    box-shadow: none;
    background: transparent;
}

.auth-card .auth-brand {
    flex: 1;
    padding: 0 !important;
    background: transparent !important;
    border: none;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-left {
    animation: slideInLeft 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-slide-right {
    animation: slideInRight 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.auth-card .auth-brand img.banner-bg {
    border-radius: 0 !important;
    box-shadow: none;
    height: 100% !important;
    width: 100% !important;
}

@media (max-width: 900px) {
    .auth-card {
        flex-direction: column-reverse !important;
        max-width: 90%;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .auth-card .auth-brand {
        flex: 0 0 150px;
    }
}

.auth-card .auth-brand img.banner-bg {
    max-width: 260px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    margin: auto;
    display: block;
}

.auth-card .auth-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 90% 90%, rgba(14, 165, 233, 0.2) 0%, transparent 60%),
        #07090d !important;
}

@keyframes explodeLeft {
    0% {
        opacity: 0;
        transform: translateX(50px);
        filter: blur(5px);
    }

    60% {
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes explodeRight {
    0% {
        opacity: 0;
        transform: translateX(-50px);
        filter: blur(5px);
    }

    60% {
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes implodeLeft {
    from {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: translateX(50px);
        filter: blur(5px);
    }
}

@keyframes implodeRight {
    from {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: translateX(-50px);
        filter: blur(5px);
    }
}

.anim-enter-left,
.anim-enter-right,
.anim-exit-left,
.anim-exit-right {
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.anim-enter-left {
    animation: explodeLeft 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.anim-enter-right {
    animation: explodeRight 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.anim-exit-left {
    animation: implodeLeft 0.4s ease-in forwards !important;
}

.anim-exit-right {
    animation: implodeRight 0.4s ease-in forwards !important;
}

.auth-content-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth-form-side .auth-content-wrap {
    align-items: stretch;
}

.role-selector {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: flex-end;
}

.role-chip-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.role-chip-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: var(--text-color);
}

.role-chip-btn.active.role-user {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.5);
    color: var(--accent-color);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.2);
}

.role-chip-btn.active.role-support {
    background: rgba(46, 160, 67, 0.12);
    border-color: rgba(46, 160, 67, 0.5);
    color: var(--success);
    box-shadow: 0 0 12px rgba(46, 160, 67, 0.2);
}

.role-chip-btn.active.role-admin {
    background: rgba(210, 153, 34, 0.12);
    border-color: rgba(210, 153, 34, 0.5);
    color: var(--warning);
    box-shadow: 0 0 12px rgba(210, 153, 34, 0.2);
}

.role-chip-btn.active.role-owner {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.5);
    color: var(--primary-color);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.mini-dropdown {
    position: relative;
    display: inline-block;
}

.mini-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 500;
}

.mini-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.mini-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #1c2128;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 130px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 100;
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-dropdown:focus-within .mini-dropdown-menu,
.mini-dropdown.active .mini-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}

.mini-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.mini-dropdown-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

.role-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.role-indicator.owner {
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.role-indicator.admin {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.role-indicator.support {
    background: #007728;
    box-shadow: 0 0 8px rgba(0, 117, 45, 0.4);
}

.role-indicator.partner {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.role-indicator.booster {
    background: #ec4899;
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.4);
}

.role-indicator.vip {
    background: #0ea5e9;
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.4);
}

.role-indicator.supporter {
    background: #09861e;
    box-shadow: 0 0 8px rgba(14, 233, 80, 0.4);
}

.role-indicator.user {
    background: #9ca3af;
    box-shadow: 0 0 8px rgba(156, 163, 175, 0.4);
}

.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    pointer-events: none;
}

.toast {
    background: rgba(22, 27, 34, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    max-width: min(500px, 90vw);
    width: fit-content;
    line-height: 1.4;
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast i {
    font-size: 1rem;
    flex-shrink: 0;
}

.toast.success i {
    color: var(--success);
}

.toast.error i {
    color: var(--danger);
}

.toast.warning i {
    color: var(--warning);
}

.toast.info i {
    color: var(--primary-color);
}

.maintenance-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.maintenance-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3.5rem;
    max-width: 550px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.maintenance-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--warning), transparent, var(--warning));
}

.maintenance-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(210, 153, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem auto;
    color: var(--warning);
    font-size: 3.5rem;
    border: 1px solid rgba(210, 153, 34, 0.2);
}

.maintenance-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #fff;
    letter-spacing: -1px;
}

.maintenance-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.maintenance-info {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.maintenance-info b {
    color: var(--warning);
}

.maintenance-actions {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.01);
}

.close-btn,
.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

#global-ip-intel-popover {
    position: fixed;
    min-width: 260px;
    max-width: 450px;
    width: max-content;
    background: rgba(13, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    z-index: 999999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    text-align: left;
    color: #fff;
    transform: translateY(10px);
}

#global-ip-intel-popover.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.close-btn:hover,
.modal-close:hover {
    color: #fff;
}

input[type="range"].resource-slider,
#createModal input[type="range"],
#settingsModal input[type="range"],
.server-grid-2col input[type="range"] {
    width: 100% !important;
    display: block;
    margin: 1rem 0;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.05);
    height: 6px;
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border: 3px solid #0a0a1a;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#my-servers input[type="range"] {
    margin: 1rem 0;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -0.5rem;
}

.slider-value {
    font-family: monospace;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.slider-exhausted {
    opacity: 0.5;
    filter: grayscale(1);
    pointer-events: none;
}

.exhausted-label {
    color: var(--danger);
    font-size: 0.7rem;
    margin-left: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .server-grid-2col {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .info-cards-grid {
        grid-template-columns: 1fr !important;
    }

    .welcome-section {
        padding: 1.5rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
    }

    .welcome-stats {
        width: 100%;
        justify-content: space-between;
        gap: 1rem !important;
    }

    .server-card-full-bg {
        min-height: 220px !important;
    }

    .server-stats-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .server-header-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        margin-top: 0 !important;
    }

    .power-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .power-controls {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5rem !important;
    }

    .btn-power {
        width: 100% !important;
        padding: 0.8rem 0.5rem !important;
        justify-content: center !important;
    }

    .terminal-container {
        height: 400px !important;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-overlay {
        padding: 1rem;
    }

    .modal-content {
        max-height: 95vh;
    }

    .dashboard-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    .tab-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }

    .server-title {
        font-size: 1.1rem !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
        display: block;
    }

    #current-path-display {
        word-break: break-all;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo-status {
        display: none;
    }

    .logo-divider {
        display: none;
    }

    .welcome-text h2 {
        font-size: 1.4rem !important;
    }

    .server-title {
        font-size: 1.1rem !important;
    }
}

.terminal-container {
    background: rgba(13, 14, 20, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(59, 130, 246, 0.02);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    overscroll-behavior: contain;
}

.terminal-container:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.08);
}

.terminal-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02), rgba(59, 130, 246, 0.01), rgba(59, 130, 246, 0.02));
    background-size: 100% 3px, 4px 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0.3;
}

.terminal-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    z-index: 10;
}

#terminal {
    background: transparent !important;
    width: 100%;
    overscroll-behavior: contain;
}

#terminal .xterm-viewport {
    background: transparent !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.4) transparent;
    overscroll-behavior: contain !important;
}

#terminal .xterm-viewport::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

#terminal .xterm-viewport::-webkit-scrollbar-track {
    background: transparent;
}

#terminal .xterm-viewport::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.terminal-container.scrolling #terminal .xterm-viewport::-webkit-scrollbar-thumb,
#terminal .xterm-viewport:hover::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.4);
}

#terminal .xterm-viewport::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.6) !important;
}

.terminal-status-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(7, 9, 13, 0.75) !important;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.terminal-status-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.terminal-loading-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    width: min(420px, 86vw);
    padding: 2.5rem 1.5rem;
    animation: terminal-loading-card-in 0.35s ease-out both;
}

.terminal-loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    width: 4rem;
    height: 2.35rem;
}

.terminal-loading-spinner span {
    display: block;
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(29, 174, 242, 0.7);
    animation: terminal-loading-dot 1.15s ease-in-out infinite;
}

.terminal-loading-spinner span:nth-child(2) {
    animation-delay: 0.16s;
}

.terminal-loading-spinner span:nth-child(3) {
    animation-delay: 0.32s;
}

.terminal-loading-title {
    color: #fff;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-top: 0.2rem;
}

.terminal-loading-message {
    max-width: 230px;
    color: rgba(148, 163, 184, 0.8);
    font-size: 0.82rem;
    text-align: center;
    word-break: break-word;
}

.terminal-loading-skeletons {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 230px;
    margin-top: 0.8rem;
}

.terminal-loading-skeletons span {
    display: block;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.1), rgba(88, 166, 255, 0.42), rgba(148, 163, 184, 0.1));
    background-size: 200% 100%;
    animation: terminal-loading-shimmer 1.4s ease-in-out infinite;
}

.terminal-loading-skeletons span:nth-child(2) { width: 78%; }
.terminal-loading-skeletons span:nth-child(3) { width: 58%; }

@keyframes terminal-loading-dot {
    0%, 100% { transform: scale(0.7); opacity: 0.4; }
    50% { transform: scale(1.25); opacity: 1; }
}

@keyframes terminal-loading-shimmer {
    0% { background-position: 100% 0; opacity: 0.55; }
    50% { background-position: 0 0; opacity: 1; }
    100% { background-position: -100% 0; opacity: 0.55; }
}

@keyframes terminal-loading-card-in {
    from { opacity: 0; transform: translateY(6px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chart-box {
    background: rgba(13, 14, 20, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.chart-box:hover {
    background: rgba(13, 14, 20, 0.75) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.chart-box h4 {
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.25rem !important;
}

.custom-chart-legend {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.legend-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.legend-color {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.legend-item.inbound .legend-color {
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.legend-item.outbound .legend-color {
    background: #a855f7;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: rgba(16, 20, 28, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(16, 20, 28, 0.7);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.info-card-text {
    z-index: 1;
}

.info-card-text h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.info-card-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.welcome-section {
    background: linear-gradient(135deg, rgba(16, 20, 28, 0.466) 0%, rgba(10, 14, 20, 0.589) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.welcome-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-text h2 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.server-card-premium {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    min-height: 260px;
}

.server-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(88, 166, 255, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.server-banner {
    height: 80px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.server-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
}

.server-status-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(16, 20, 28, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-running .status-dot {
    background: #2ea043;
    box-shadow: 0 0 8px #2ea043;
}

.status-offline .status-dot,
.status-suspended .status-dot {
    background: #e53e3e;
    box-shadow: 0 0 8px #e53e3e;
}

.status-starting .status-dot {
    background: #dbab09;
    box-shadow: 0 0 8px #dbab09;
    animation: pulse 1.5s infinite;
}

.server-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.server-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.server-uuid {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'IBM Plex Mono', monospace;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.server-uuid:hover {
    color: var(--primary-color);
}

.server-resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.resource-item i {
    color: var(--primary-color);
    font-size: 1rem;
    opacity: 0.8;
    width: 20px;
    text-align: center;
}

.res-info {
    display: flex;
    flex-direction: column;
}

.res-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.res-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
}

.server-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.server-actions .btn-manage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.server-actions .btn-settings {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 40px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.server-actions .btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.expiration-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(16, 20, 28, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.expiration-critical {
    border-color: rgba(240, 136, 62, 0.4);
    color: #f0883e;
}

.expiration-expired {
    border-color: rgba(229, 62, 62, 0.4);
    color: #e53e3e;
    background: rgba(229, 62, 62, 0.1);
}

.expiration-lifetime {
    color: var(--primary-color);
    border-color: rgba(59, 130, 246, 0.3);
}

#create-server-card {
    background: rgba(59, 130, 246, 0.03) !important;
    border: 2px dashed rgba(59, 130, 246, 0.2) !important;
    min-height: 260px;
}

#create-server-card:hover {
    background: rgba(59, 130, 246, 0.08) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

#create-server-card i {
    color: var(--primary-color) !important;
    opacity: 0.8;
    transition: transform 0.3s;
}

#create-server-card:hover i {
    transform: scale(1.1);
    opacity: 1;
}

#create-server-card h3 {
    color: rgba(255, 255, 255, 0.8) !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(219, 171, 9, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(219, 171, 9, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(219, 171, 9, 0);
    }
}

.dashboard-pro-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

.dash-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
    letter-spacing: -0.5px;
}

.dash-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

.dash-hero-actions {
    display: flex;
    gap: 1rem;
}

.dash-outline-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-outline-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.dash-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.dash-stat-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dash-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dash-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-stat-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.dash-stat-body {
    margin-bottom: 1rem;
}

.dash-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.dash-stat-sub {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.dash-stat-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.dash-stat-progress .progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.dash-tabs-container {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.dash-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    padding: 0 0 1rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.dash-tab:hover {
    color: #fff;
}

.dash-tab.active {
    color: #fff;
    font-weight: 600;
}

.dash-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.dash-tab-content {
    display: none;
}

.dash-tab-content.active {
    display: block;
}

.server-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.server-list-item {
    display: grid;
    grid-template-columns: 300px 1fr auto;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    transition: all 0.2s;
}

.server-list-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.server-item-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.server-status-indicator {
    position: relative;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.4;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.status-running .status-dot {
    background: #2ea043;
}

.status-running .pulse-ring {
    border: 2px solid #2ea043;
}

.status-offline .status-dot {
    background: #e53e3e;
}

.status-offline .pulse-ring {
    display: none;
}

.status-starting .status-dot {
    background: #dbab09;
}

.status-starting .pulse-ring {
    border: 2px solid #dbab09;
    animation: pulse-ring 1s infinite alternate;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.server-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.2s;
}

.server-name:hover {
    color: var(--primary-color);
}

.server-id {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'IBM Plex Mono', monospace;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.server-id:hover {
    color: #fff;
}

.server-item-stats {
    display: flex;
    gap: 3rem;
    padding: 0 2rem;
}

.stat-block {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-val {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    font-family: 'IBM Plex Mono', monospace;
}

.server-item-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.exp-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.exp-critical {
    color: #f0883e;
    background: rgba(240, 136, 62, 0.1);
}

.exp-expired {
    color: #e53e3e;
    background: rgba(229, 62, 62, 0.1);
}

.exp-lifetime {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.server-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon-pro {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon-pro:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.server-create-btn {
    grid-template-columns: 1fr;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    min-height: 80px;
}

.server-create-btn:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.create-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.server-create-btn:hover .create-content {
    color: var(--primary-color);
}

.create-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-create-btn:hover .create-icon-wrap {
    background: rgba(59, 130, 246, 0.2);
}

.create-text {
    font-weight: 500;
    font-size: 1rem;
}

@media (max-width: 1100px) {
    .server-list-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .server-item-stats {
        padding: 0;
        gap: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 1rem;
    }

    .server-item-right {
        justify-content: space-between;
        margin-top: 0.5rem;
    }

    .dash-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

.fw-logs-btn-act {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fw-logs-btn-act:hover {
    background: rgba(255, 255, 255, 0.1);
}

.fw-logs-btn-act.refresh {
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
}

.fw-logs-btn-act.refresh:hover {
    background: rgba(88, 166, 255, 0.2);
}

.fw-logs-btn-act.clear {
    background: rgba(248, 81, 73, 0.1);
    color: var(--danger);
}

.fw-logs-btn-act.clear:hover {
    background: rgba(248, 81, 73, 0.2);
}

.discord-logging-btn {
    background: #5865F2 !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.discord-logging-btn:hover {
    background: #4752C4 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4) !important;
}

.discord-logging-btn i {
    margin: 0 !important;
}

.activity-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.activity-row {
    transition: all 0.2s ease !important;
}

.activity-row:hover {
    background: rgba(255, 255, 255, 0.02) !important;
    transform: scale(1.002);
}

.action-badge {
    transition: all 0.2s ease !important;
}

.action-badge:hover {
    background: rgba(88, 101, 242, 0.1) !important;
    border-color: #5865F2 !important;
    color: #5865F2 !important;
}

.filter-badge-container {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.creation-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

@media (max-width: 850px) {
    .creation-grid {
        grid-template-columns: 1fr;
    }
}

.egg-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.egg-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.egg-card:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

.egg-card.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.egg-card i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.egg-card.active i {
    color: var(--primary-color);
}

.egg-card span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

.egg-card.active span {
    color: white;
}

.resource-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    margin: 15px 0;
}

.resource-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: all 0.2s;
}

.resource-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--primary-color);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -5px;
}

.slider-value {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.creation-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.budget-meter {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.budget-meter h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.meter-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.meter-fill.warning {
    background: var(--warning);
}

.meter-fill.danger {
    background: var(--danger);
}

.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.layer-1 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 870px 925px #1daef2, 1932px 134px #1daef2, 1587px 1582px #1daef2, 1093px 763px #1daef2, 1577px 16px #1daef2, 1116px 240px #1daef2, 1334px 1707px #1daef2, 597px 1313px #1daef2, 1724px 742px #1daef2, 945px 1727px #1daef2, 357px 507px #1daef2, 1445px 1320px #1daef2, 232px 1997px #1daef2, 1221px 1227px #1daef2, 1040px 287px #1daef2, 660px 1729px #1daef2, 411px 1360px #1daef2, 431px 585px #1daef2, 494px 1767px #1daef2, 1863px 1355px #1daef2, 540px 467px #1daef2, 934px 1808px #1daef2, 461px 1759px #1daef2, 1903px 844px #1daef2, 1834px 214px #1daef2, 380px 1758px #1daef2, 311px 946px #1daef2, 1172px 1746px #1daef2, 1239px 1919px #1daef2, 250px 986px #1daef2, 1182px 1342px #1daef2, 1691px 569px #1daef2, 1908px 1840px #1daef2, 1395px 1090px #1daef2, 1470px 945px #1daef2, 851px 831px #1daef2, 953px 614px #1daef2, 243px 1627px #1daef2, 395px 465px #1daef2, 1870px 593px #1daef2, 1085px 725px #1daef2, 1670px 1162px #1daef2, 1172px 1196px #1daef2, 151px 383px #1daef2, 740px 474px #1daef2, 161px 872px #1daef2, 48px 1402px #1daef2, 1708px 160px #1daef2, 371px 90px #1daef2, 510px 1946px #1daef2, 635px 1111px #1daef2, 840px 577px #1daef2, 47px 879px #1daef2, 1833px 1508px #1daef2, 1045px 1670px #1daef2, 608px 1805px #1daef2, 1195px 732px #1daef2, 1711px 1270px #1daef2, 736px 1273px #1daef2, 1823px 1884px #1daef2, 1858px 613px #1daef2, 422px 18px #1daef2, 1939px 846px #1daef2, 117px 242px #1daef2, 781px 138px #1daef2, 782px 1487px #1daef2, 608px 280px #1daef2, 217px 1317px #1daef2, 182px 1080px #1daef2, 1970px 425px #1daef2, 90px 903px #1daef2, 895px 511px #1daef2, 1436px 1802px #1daef2, 499px 114px #1daef2, 1098px 319px #1daef2, 722px 1296px #1daef2, 69px 1424px #1daef2, 757px 1186px #1daef2, 1457px 254px #1daef2, 1780px 715px #1daef2, 1349px 1371px #1daef2, 1423px 79px #1daef2, 1738px 1570px #1daef2, 193px 83px #1daef2, 1269px 776px #1daef2, 1659px 630px #1daef2, 1919px 1932px #1daef2, 1571px 1257px #1daef2, 1840px 1813px #1daef2, 117px 663px #1daef2, 79px 1371px #1daef2, 592px 1129px #1daef2, 897px 7px #1daef2, 928px 680px #1daef2, 1408px 19px #1daef2, 1360px 820px #1daef2, 1152px 12px #1daef2, 1672px 1809px #1daef2, 790px 852px #1daef2, 200px 895px #1daef2, 1945px 1060px #1daef2, 1981px 54px #1daef2, 556px 1956px #1daef2, 1133px 242px #1daef2, 1650px 1779px #1daef2, 346px 284px #1daef2, 1960px 128px #1daef2, 1128px 92px #1daef2, 1329px 1050px #1daef2, 1732px 1050px #1daef2, 393px 43px #1daef2, 585px 1690px #1daef2, 1232px 342px #1daef2, 1917px 654px #1daef2, 778px 620px #1daef2, 306px 781px #1daef2, 749px 1593px #1daef2, 1432px 841px #1daef2, 1310px 167px #1daef2, 429px 397px #1daef2, 1641px 867px #1daef2, 1541px 654px #1daef2, 576px 998px #1daef2, 1px 1636px #1daef2, 1965px 20px #1daef2, 588px 1669px #1daef2, 278px 252px #1daef2, 429px 1447px #1daef2, 1461px 209px #1daef2, 1345px 1962px #1daef2, 1980px 1425px #1daef2, 349px 125px #1daef2, 1397px 449px #1daef2, 161px 1891px #1daef2, 1986px 297px #1daef2, 646px 1473px #1daef2, 87px 491px #1daef2, 254px 481px #1daef2, 1053px 212px #1daef2, 289px 1327px #1daef2, 186px 1130px #1daef2, 1659px 1893px #1daef2, 1777px 1563px #1daef2, 547px 206px #1daef2, 576px 547px #1daef2, 404px 905px #1daef2, 619px 974px #1daef2, 1497px 1271px #1daef2, 1256px 1273px #1daef2, 125px 1696px #1daef2;
    animation: animParticle 120s linear infinite;
    border-radius: 50%;
}

.layer-1:after {
    content: "";
    position: absolute;
    top: 2000px;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 870px 925px #1daef2, 1932px 134px #1daef2, 1587px 1582px #1daef2, 1093px 763px #1daef2, 1577px 16px #1daef2, 1116px 240px #1daef2, 1334px 1707px #1daef2, 597px 1313px #1daef2, 1724px 742px #1daef2, 945px 1727px #1daef2, 357px 507px #1daef2, 1445px 1320px #1daef2, 232px 1997px #1daef2, 1221px 1227px #1daef2, 1040px 287px #1daef2, 660px 1729px #1daef2, 411px 1360px #1daef2, 431px 585px #1daef2, 494px 1767px #1daef2, 1863px 1355px #1daef2, 540px 467px #1daef2, 934px 1808px #1daef2, 461px 1759px #1daef2, 1903px 844px #1daef2, 1834px 214px #1daef2, 380px 1758px #1daef2, 311px 946px #1daef2, 1172px 1746px #1daef2, 1239px 1919px #1daef2, 250px 986px #1daef2, 1182px 1342px #1daef2, 1691px 569px #1daef2, 1908px 1840px #1daef2, 1395px 1090px #1daef2, 1470px 945px #1daef2, 851px 831px #1daef2, 953px 614px #1daef2, 243px 1627px #1daef2, 395px 465px #1daef2, 1870px 593px #1daef2, 1085px 725px #1daef2, 1670px 1162px #1daef2, 1172px 1196px #1daef2, 151px 383px #1daef2, 740px 474px #1daef2, 161px 872px #1daef2, 48px 1402px #1daef2, 1708px 160px #1daef2, 371px 90px #1daef2, 510px 1946px #1daef2, 635px 1111px #1daef2, 840px 577px #1daef2, 47px 879px #1daef2, 1833px 1508px #1daef2, 1045px 1670px #1daef2, 608px 1805px #1daef2, 1195px 732px #1daef2, 1711px 1270px #1daef2, 736px 1273px #1daef2, 1823px 1884px #1daef2, 1858px 613px #1daef2, 422px 18px #1daef2, 1939px 846px #1daef2, 117px 242px #1daef2, 781px 138px #1daef2, 782px 1487px #1daef2, 608px 280px #1daef2, 217px 1317px #1daef2, 182px 1080px #1daef2, 1970px 425px #1daef2, 90px 903px #1daef2, 895px 511px #1daef2, 1436px 1802px #1daef2, 499px 114px #1daef2, 1098px 319px #1daef2, 722px 1296px #1daef2, 69px 1424px #1daef2, 757px 1186px #1daef2, 1457px 254px #1daef2, 1780px 715px #1daef2, 1349px 1371px #1daef2, 1423px 79px #1daef2, 1738px 1570px #1daef2, 193px 83px #1daef2, 1269px 776px #1daef2, 1659px 630px #1daef2, 1919px 1932px #1daef2, 1571px 1257px #1daef2, 1840px 1813px #1daef2, 117px 663px #1daef2, 79px 1371px #1daef2, 592px 1129px #1daef2, 897px 7px #1daef2, 928px 680px #1daef2, 1408px 19px #1daef2, 1360px 820px #1daef2, 1152px 12px #1daef2, 1672px 1809px #1daef2, 790px 852px #1daef2, 200px 895px #1daef2, 1945px 1060px #1daef2, 1981px 54px #1daef2, 556px 1956px #1daef2, 1133px 242px #1daef2, 1650px 1779px #1daef2, 346px 284px #1daef2, 1960px 128px #1daef2, 1128px 92px #1daef2, 1329px 1050px #1daef2, 1732px 1050px #1daef2, 393px 43px #1daef2, 585px 1690px #1daef2, 1232px 342px #1daef2, 1917px 654px #1daef2, 778px 620px #1daef2, 306px 781px #1daef2, 749px 1593px #1daef2, 1432px 841px #1daef2, 1310px 167px #1daef2, 429px 397px #1daef2, 1641px 867px #1daef2, 1541px 654px #1daef2, 576px 998px #1daef2, 1px 1636px #1daef2, 1965px 20px #1daef2, 588px 1669px #1daef2, 278px 252px #1daef2, 429px 1447px #1daef2, 1461px 209px #1daef2, 1345px 1962px #1daef2, 1980px 1425px #1daef2, 349px 125px #1daef2, 1397px 449px #1daef2, 161px 1891px #1daef2, 1986px 297px #1daef2, 646px 1473px #1daef2, 87px 491px #1daef2, 254px 481px #1daef2, 1053px 212px #1daef2, 289px 1327px #1daef2, 186px 1130px #1daef2, 1659px 1893px #1daef2, 1777px 1563px #1daef2, 547px 206px #1daef2, 576px 547px #1daef2, 404px 905px #1daef2, 619px 974px #1daef2, 1497px 1271px #1daef2, 1256px 1273px #1daef2, 125px 1696px #1daef2;
    border-radius: 50%;
}

.layer-2 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 1249px 56px #1daef2, 1005px 1085px #1daef2, 525px 1901px #1daef2, 1176px 1955px #1daef2, 473px 1184px #1daef2, 1106px 1147px #1daef2, 71px 1151px #1daef2, 1745px 1818px #1daef2, 1764px 691px #1daef2, 993px 1828px #1daef2, 1281px 1633px #1daef2, 1693px 413px #1daef2, 1591px 1204px #1daef2, 1764px 1930px #1daef2, 1804px 688px #1daef2, 352px 543px #1daef2, 727px 1115px #1daef2, 119px 738px #1daef2, 168px 1253px #1daef2, 869px 450px #1daef2, 1169px 1809px #1daef2, 1619px 1858px #1daef2, 1964px 1251px #1daef2, 1160px 1820px #1daef2, 1108px 147px #1daef2, 919px 178px #1daef2, 155px 1112px #1daef2, 210px 1359px #1daef2, 1215px 643px #1daef2, 207px 392px #1daef2, 1293px 279px #1daef2, 1782px 966px #1daef2, 1038px 1066px #1daef2, 746px 1449px #1daef2, 506px 131px #1daef2, 1204px 453px #1daef2, 1831px 926px #1daef2, 698px 538px #1daef2, 90px 1943px #1daef2, 956px 1474px #1daef2, 40px 1441px #1daef2, 569px 388px #1daef2, 560px 1394px #1daef2, 580px 963px #1daef2, 1853px 1466px #1daef2, 367px 408px #1daef2, 856px 1367px #1daef2, 1480px 1973px #1daef2, 1498px 1291px #1daef2, 1027px 654px #1daef2, 1654px 970px #1daef2, 1921px 889px #1daef2, 1125px 863px #1daef2, 7px 1849px #1daef2, 1369px 1590px #1daef2, 1811px 1776px #1daef2, 1948px 1641px #1daef2, 1236px 1000px #1daef2, 360px 882px #1daef2, 62px 274px #1daef2, 1922px 1424px #1daef2, 1884px 1907px #1daef2, 1886px 1625px #1daef2, 535px 1362px #1daef2, 717px 1221px #1daef2, 379px 1659px #1daef2, 1954px 628px #1daef2, 1488px 52px #1daef2, 827px 1925px #1daef2, 481px 210px #1daef2, 52px 1261px #1daef2, 1596px 1533px #1daef2, 145px 1133px #1daef2, 1666px 1200px #1daef2, 996px 297px #1daef2;
    animation: animParticle 80s linear infinite;
    border-radius: 50%;
    opacity: 0.7;
}

.layer-2:after {
    content: "";
    position: absolute;
    top: 2000px;
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 1249px 56px #1daef2, 1005px 1085px #1daef2, 525px 1901px #1daef2, 1176px 1955px #1daef2, 473px 1184px #1daef2, 1106px 1147px #1daef2, 71px 1151px #1daef2, 1745px 1818px #1daef2, 1764px 691px #1daef2, 993px 1828px #1daef2, 1281px 1633px #1daef2, 1693px 413px #1daef2, 1591px 1204px #1daef2, 1764px 1930px #1daef2, 1804px 688px #1daef2, 352px 543px #1daef2, 727px 1115px #1daef2, 119px 738px #1daef2, 168px 1253px #1daef2, 869px 450px #1daef2, 1169px 1809px #1daef2, 1619px 1858px #1daef2, 1964px 1251px #1daef2, 1160px 1820px #1daef2, 1108px 147px #1daef2, 919px 178px #1daef2, 155px 1112px #1daef2, 210px 1359px #1daef2, 1215px 643px #1daef2, 207px 392px #1daef2, 1293px 279px #1daef2, 1782px 966px #1daef2, 1038px 1066px #1daef2, 746px 1449px #1daef2, 506px 131px #1daef2, 1204px 453px #1daef2, 1831px 926px #1daef2, 698px 538px #1daef2, 90px 1943px #1daef2, 956px 1474px #1daef2, 40px 1441px #1daef2, 569px 388px #1daef2, 560px 1394px #1daef2, 580px 963px #1daef2, 1853px 1466px #1daef2, 367px 408px #1daef2, 856px 1367px #1daef2, 1480px 1973px #1daef2, 1498px 1291px #1daef2, 1027px 654px #1daef2, 1654px 970px #1daef2, 1921px 889px #1daef2, 1125px 863px #1daef2, 7px 1849px #1daef2, 1369px 1590px #1daef2, 1811px 1776px #1daef2, 1948px 1641px #1daef2, 1236px 1000px #1daef2, 360px 882px #1daef2, 62px 274px #1daef2, 1922px 1424px #1daef2, 1884px 1907px #1daef2, 1886px 1625px #1daef2, 535px 1362px #1daef2, 717px 1221px #1daef2, 379px 1659px #1daef2, 1954px 628px #1daef2, 1488px 52px #1daef2, 827px 1925px #1daef2, 481px 210px #1daef2, 52px 1261px #1daef2, 1596px 1533px #1daef2, 145px 1133px #1daef2, 1666px 1200px #1daef2, 996px 297px #1daef2;
    border-radius: 50%;
}

.layer-3 {
    width: 4px;
    height: 4px;
    background: transparent;
    box-shadow: 1044px 1641px #1daef2, 1390px 1191px #1daef2, 616px 1142px #1daef2, 44px 603px #1daef2, 560px 105px #1daef2, 715px 115px #1daef2, 550px 728px #1daef2, 1449px 1186px #1daef2, 6px 460px #1daef2, 1678px 1905px #1daef2, 389px 1254px #1daef2, 716px 548px #1daef2, 1948px 122px #1daef2, 1024px 343px #1daef2, 85px 1893px #1daef2, 1143px 4px #1daef2, 1555px 1656px #1daef2, 1833px 1367px #1daef2, 990px 101px #1daef2, 1061px 1065px #1daef2, 1268px 932px #1daef2, 207px 278px #1daef2, 972px 937px #1daef2, 292px 1623px #1daef2, 236px 485px #1daef2, 677px 909px #1daef2, 1271px 1450px #1daef2, 921px 1293px #1daef2, 847px 509px #1daef2, 1348px 847px #1daef2, 1916px 836px #1daef2, 248px 280px #1daef2, 1431px 1216px #1daef2, 1074px 1182px #1daef2, 1110px 161px #1daef2;
    animation: animParticle 50s linear infinite;
    border-radius: 50%;
    opacity: 0.5;
}

.layer-3:after {
    content: "";
    position: absolute;
    top: 2000px;
    width: 4px;
    height: 4px;
    background: transparent;
    box-shadow: 1044px 1641px #1daef2, 1390px 1191px #1daef2, 616px 1142px #1daef2, 44px 603px #1daef2, 560px 105px #1daef2, 715px 115px #1daef2, 550px 728px #1daef2, 1449px 1186px #1daef2, 6px 460px #1daef2, 1678px 1905px #1daef2, 389px 1254px #1daef2, 716px 548px #1daef2, 1948px 122px #1daef2, 1024px 343px #1daef2, 85px 1893px #1daef2, 1143px 4px #1daef2, 1555px 1656px #1daef2, 1833px 1367px #1daef2, 990px 101px #1daef2, 1061px 1065px #1daef2, 1268px 932px #1daef2, 207px 278px #1daef2, 972px 937px #1daef2, 292px 1623px #1daef2, 236px 485px #1daef2, 677px 909px #1daef2, 1271px 1450px #1daef2, 921px 1293px #1daef2, 847px 509px #1daef2, 1348px 847px #1daef2, 1916px 836px #1daef2, 248px 280px #1daef2, 1431px 1216px #1daef2, 1074px 1182px #1daef2, 1110px 161px #1daef2;
    border-radius: 50%;
}

@keyframes animParticle {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-2000px);
    }
}

:root {
    
    --admin-surface: rgba(8, 12, 22, 0.95);
    --admin-card: rgba(13, 18, 32, 0.7);
    --admin-border: rgba(255, 255, 255, 0.06);
    --admin-hover: rgba(29, 174, 242, 0.06);
    --admin-glow: rgba(29, 174, 242, 0.15);

    --sidebar-width: 260px;
    --sidebar-bg: rgba(6, 9, 14, 0.98);
}

.admin-layout-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--admin-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-sidebar-logo-glow {
    position: relative;
    display: inline-flex;
}

.admin-sidebar-logo-glow::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--primary-color);
    filter: blur(15px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 50%;
    animation: pulseGlow 3s infinite alternate;
}

.admin-sidebar-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-color);
}

.admin-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.admin-sidebar-category {
    padding: 0.25rem 1.5rem 0.1rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-sidebar-category::after {
    content: '';
    flex: 1;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 50%, transparent 50%);
    background-size: 4px 1px;
    background-repeat: repeat-x;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.2s ease;
}

.admin-sidebar-link:hover {
    color: var(--text-color);
    background: var(--admin-hover);
}

.admin-sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.admin-sidebar-link:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
    opacity: 1;
}

.admin-sidebar-link.active {
    color: var(--text-color);
    background: linear-gradient(90deg, var(--admin-hover) 0%, transparent 100%);
    font-weight: 600;
}

.admin-sidebar-link.active i {
    color: var(--primary-color);
    opacity: 1;
}

.admin-sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 0 10px var(--primary-color);
}

.admin-sidebar-badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.admin-sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--admin-border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.admin-main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-width: 0;
    
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    height: 70px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--admin-border);
    background: rgba(8, 12, 22, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 90;
}

.admin-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.admin-breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.admin-breadcrumbs a:hover {
    color: var(--text-color);
}

.admin-breadcrumbs .separator {
    opacity: 0.5;
    font-size: 0.8rem;
}

.admin-breadcrumbs .current {
    color: var(--text-color);
    font-weight: 600;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-page-container {
    padding: 2rem;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-page-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-page-title h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.admin-page-title-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(29, 174, 242, 0.1);
    border: 1px solid rgba(29, 174, 242, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-card {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.admin-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.admin-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--admin-border);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-card-body {
    padding: 1.5rem;
}

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--admin-border);
    white-space: nowrap;
}

.admin-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--admin-border);
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: background 0.2s;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admin-badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.admin-badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.admin-badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-badge-primary {
    background: rgba(29, 174, 242, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(29, 174, 242, 0.3);
}

.admin-avatar-ring {
    position: relative;
    display: inline-block;
}

.admin-avatar-ring img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--admin-card);
    position: relative;
    z-index: 2;
}

.admin-avatar-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-user-details {
    display: flex;
    flex-direction: column;
}

.admin-user-name {
    font-weight: 600;
    color: var(--text-color);
}

.admin-user-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-modal-overlay.show {
    opacity: 1;
    display: flex;
}

.admin-modal {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.admin-modal-overlay.show .admin-modal {
    transform: scale(1) translateY(0);
}

.admin-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.admin-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.admin-modal-close:hover {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
}

.admin-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.admin-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--admin-border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.admin-form-group {
    margin-bottom: 1.25rem;
}

.admin-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.admin-form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.2s;
}

.admin-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 174, 242, 0.15);
}

.admin-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.admin-search-box i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

.admin-search-box input {
    padding-left: 2.5rem;
    width: 250px;
}

@keyframes pulseGlow {
    from {
        opacity: 0.2;
        transform: scale(0.95);
    }

    to {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main-content {
        margin-left: 0;
    }
}