/* =========================================================
   VIRN HOST - Design System & Modern Cloud Aesthetics
   Inspired by Metallic Platinum / Silver Luxury Logo
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Outfit', sans-serif;

    /* Color Palette - Metallic Chrome / Silver & Deep Obsidian */
    --bg-main: #07080b;
    --bg-surface: #0d0f15;
    --bg-card: rgba(18, 21, 30, 0.65);
    --bg-card-hover: rgba(28, 33, 48, 0.85);
    
    --silver-light: #ffffff;
    --silver-mid: #cbd5e1;
    --silver-dark: #64748b;
    --silver-accent: #e2e8f0;

    --cyan-glow: #38bdf8;
    --emerald: #10b981;
    --discord-color: #5865F2;

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-bright: rgba(255, 255, 255, 0.22);
    
    --grad-silver-btn: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    --grad-silver-text: linear-gradient(135deg, #ffffff 15%, #cbd5e1 55%, #64748b 100%);
    --grad-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.15) 100%);

    --shadow-glow: 0 0 40px rgba(255, 255, 255, 0.1);
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    font-size: 16px !important;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
}

body {
    background-color: var(--bg-main) !important;
    color: #e2e8f0 !important;
    font-family: var(--font-ar) !important;
    font-size: 1rem !important;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ambient Background Lights */
.bg-ambient-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-light-1 {
    position: absolute;
    width: 700px;
    height: 700px;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(148, 163, 184, 0.02) 40%, transparent 70%);
    filter: blur(80px);
}

.ambient-light-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 40%;
    left: -150px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.04) 0%, transparent 60%);
    filter: blur(100px);
}

.ambient-light-3 {
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: 10%;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    filter: blur(90px);
}

/* Cyber Grid Lines */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 85%);
    pointer-events: none;
    z-index: 1;
}

/* Container - Modern Expansive & Responsive */
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    width: 100% !important;
    max-width: 1360px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 28px !important;
    padding-left: 28px !important;
    position: relative;
    z-index: 2;
}

@media (min-width: 1440px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1460px !important;
    }
}

@media (min-width: 1700px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1560px !important;
    }
}

/* =========================================================
   Navbar Header - Two-Tier Modern Layout (Necron Style)
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 8, 11, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

/* Top Row */
.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 10px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.brand-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
    transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.45));
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-en);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: var(--grad-silver-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.brand-sub {
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--silver-mid);
    text-transform: uppercase;
    margin-top: 3px;
}

/* Top Actions: Discord icon, Control Panels, Register & Login */
.header-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 36px;
    flex-wrap: nowrap;
}

.top-action-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 6px 11px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid transparent;
}

.top-action-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.top-action-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.top-action-link svg {
    color: var(--silver-mid);
    transition: var(--transition);
}

.top-action-link:hover svg,
.top-action-link.active svg {
    color: #ffffff;
}

.discord-top-icon {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.discord-top-icon:hover {
    color: #5865F2;
    background: rgba(88, 101, 242, 0.12);
    transform: translateY(-1px);
}

/* Pill Buttons matching reference */
.btn-pill-register {
    background: var(--grad-silver-btn);
    color: #07080b !important;
    border: none;
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-ar);
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 14px rgba(255, 255, 255, 0.22);
}

.btn-pill-register:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 22px rgba(255, 255, 255, 0.4);
}

.btn-pill-login {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid var(--border-glass-bright);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-ar);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-pill-login:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Header Separator Divider */
.header-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    width: 100%;
}

/* Bottom Sub-Navigation Row */
.header-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 9px 0 11px;
}

.subnav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.subnav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
    position: relative;
}

.subnav-link:hover, .subnav-link.active {
    color: #ffffff;
}

.subnav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-silver-btn);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: center;
}

.subnav-link:hover::after, .subnav-link.active::after {
    transform: scaleX(1);
}

.subnav-link svg.chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.subnav-link:hover svg.chevron {
    transform: translateY(2px);
}

/* =========================================================
   Pages Dropdown Menu (Exact replica of user screenshot)
   ========================================================= */
.dropdown-wrap {
    position: relative;
}

.dropdown-wrap:hover .chevron,
.dropdown-wrap.open .chevron {
    transform: rotate(180deg);
}

.pages-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 230px;
    background: rgba(15, 18, 28, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 18px 14px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
}

/* Triangle indicator at top */
.pages-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 22px;
    width: 12px;
    height: 12px;
    background: #0f121c;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(-45deg);
}

.dropdown-wrap.dropdown-left .pages-dropdown-menu {
    right: auto;
    left: 0;
}

.dropdown-wrap.dropdown-left .pages-dropdown-menu::before {
    right: auto;
    left: 22px;
}

/* Hover or active class shows dropdown */
.dropdown-wrap:hover .pages-dropdown-menu,
.dropdown-wrap.open .pages-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-category {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    padding: 0 8px 3px;
    user-select: none;
}

.dropdown-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(-3px);
}

/* Badge Tags (NEW & SOON) */
.badge-tag {
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1.2;
    display: inline-block;
}

.badge-tag.new {
    background: rgba(16, 185, 129, 0.18);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.badge-tag.soon {
    background: rgba(245, 158, 11, 0.18);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass-bright);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-ar);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: var(--grad-silver-btn);
    color: #090a0f !important;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-family: var(--font-ar);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 255, 255, 0.35);
    background: #ffffff;
}

.btn-discord {
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #9da7f7;
    padding: 9px 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-ar);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-discord:hover {
    background: #5865F2;
    color: #ffffff;
    border-color: #5865F2;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-glass-bright);
    color: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.2rem;
}

/* =========================================================
   Hero Section - Clean, Spacious & Focused on Brand Identity
   ========================================================= */
.hero-section {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: right;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-title .highlight-silver {
    background: var(--grad-silver-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.hero-description {
    font-size: 1.22rem;
    color: #94a3b8;
    line-height: 1.85;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 14px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* Hero Visual / Floating Virn Emblem (Spacious & Clean) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-emblem-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    padding: 20px 0;
}

.hero-ambient-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(203, 213, 225, 0.08) 45%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    animation: pulseEmblemGlow 5s ease-in-out infinite alternate;
}

@keyframes pulseEmblemGlow {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

.hero-floating-logo {
    width: 360px;
    max-width: 95%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.25));
    animation: floatHeroLogo 5s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1440px) {
    .hero-floating-logo {
        width: 420px;
    }
    .hero-emblem-wrapper {
        max-width: 560px;
    }
    .hero-ambient-glow {
        width: 440px;
        height: 440px;
    }
}

.hero-floating-logo:hover {
    transform: scale(1.04) translateY(-6px);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 80px rgba(255, 255, 255, 0.4));
}

@keyframes floatHeroLogo {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-16px) rotate(1deg);
    }
}

/* =========================================================
   Quick Stats Counters
   ========================================================= */
.stats-banner {
    padding: 20px 0;
    margin: 40px 0 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: rgba(18, 22, 32, 0.5);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: var(--border-glass);
}

.stat-num {
    font-family: var(--font-en);
    font-size: 2.3rem;
    font-weight: 900;
    background: var(--grad-silver-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.92rem;
    color: #94a3b8;
    font-weight: 600;
}

/* =========================================================
   Section Titles
   ========================================================= */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver-mid);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 14px;
}

.section-title .text-silver {
    background: var(--grad-silver-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.05rem;
    color: #94a3b8;
}

/* =========================================================
   Supported Fields / Categories Cards
   ========================================================= */
.services-section {
    padding: 60px 0 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-glass-bright);
    box-shadow: var(--shadow-card), 0 0 35px rgba(255, 255, 255, 0.06);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-silver-btn);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ffffff;
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background: #ffffff;
    color: #07080b;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.service-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.service-features-list {
    list-style: none;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.service-features-list li svg {
    color: var(--emerald);
    flex-shrink: 0;
}

.service-card-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-card-link:hover {
    gap: 12px;
    color: var(--silver-mid);
}

/* =========================================================
   Pricing & Plans Section
   ========================================================= */
.pricing-section {
    padding: 80px 0 100px;
    position: relative;
}

/* Billing Switcher */
.billing-switcher-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.switch-label {
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: var(--transition);
}

.switch-label.active {
    color: #ffffff;
}

.custom-switch {
    width: 60px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.switch-handle {
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    right: 4px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.custom-switch.yearly .switch-handle {
    right: 32px;
    background: var(--silver-mid);
}

.discount-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(20px);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-bright);
    box-shadow: var(--shadow-card), 0 0 40px rgba(255, 255, 255, 0.08);
}

/* Popular Featured Card */
.pricing-card.featured {
    background: rgba(22, 27, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: var(--shadow-card), 0 0 50px rgba(255, 255, 255, 0.12);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: var(--shadow-card), 0 0 60px rgba(255, 255, 255, 0.22);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-silver-btn);
    color: #07080b;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 18px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.card-top-icon {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.plan-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 24px;
    min-height: 44px;
}

.price-box {
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-glass);
}

.price-currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.price-amount {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.price-period {
    color: #94a3b8;
    font-size: 0.88rem;
}

.plan-features-list {
    list-style: none;
    margin-bottom: 34px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: #cbd5e1;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
}

/* =========================================================
   Interactive Server Configurator (صمم خادمك)
   ========================================================= */
.configurator-section {
    padding: 80px 0;
}

.config-box {
    background: rgba(18, 22, 32, 0.65);
    border: 1px solid var(--border-glass-bright);
    backdrop-filter: blur(25px);
    border-radius: var(--radius-lg);
    padding: 44px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: center;
    box-shadow: var(--shadow-card);
}

.slider-group {
    margin-bottom: 30px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-value {
    font-family: var(--font-en);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--silver-mid);
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.config-summary-card {
    background: rgba(10, 12, 18, 0.85);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.summary-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

.summary-price-total {
    margin-bottom: 24px;
}

.summary-amount {
    font-family: var(--font-en);
    font-size: 3.2rem;
    font-weight: 900;
    color: #ffffff;
}

.summary-details {
    list-style: none;
    text-align: right;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
    color: #94a3b8;
    border-top: 1px solid var(--border-glass);
    padding-top: 18px;
}

.summary-details li {
    display: flex;
    justify-content: space-between;
}

.summary-details span {
    color: #ffffff;
    font-weight: 600;
    font-family: var(--font-en);
}

/* =========================================================
   Datacenters & Network Latency Tester
   ========================================================= */
.network-section {
    padding: 70px 0;
}

.dc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.dc-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-bright);
    background: var(--bg-card-hover);
}

.dc-flag {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.dc-city {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.dc-country {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.dc-ping {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 700;
}

/* =========================================================
   Discord Community & Why Us Banner
   ========================================================= */
.discord-banner-section {
    padding: 70px 0;
}

.discord-banner {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(20, 24, 38, 0.85) 100%);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: var(--radius-lg);
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    backdrop-filter: blur(20px);
}

.discord-banner-text h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.discord-banner-text p {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 600px;
}

/* =========================================================
   FAQ Accordion
   ========================================================= */
.faq-section {
    padding: 70px 0 100px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--border-glass-bright);
    background: var(--bg-card-hover);
}

.faq-question {
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    user-select: none;
}

.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--silver-mid);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 26px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 26px 22px;
    max-height: 250px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: #040507;
    border-top: 1px solid var(--border-glass);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 18px 0 22px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-right: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.88rem;
    color: #64748b;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #14151b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    height: 44px;
    padding: 0 14px;
    min-width: 52px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.payment-card:hover {
    background: #1b1c24;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 255, 255, 0.08);
}

.payment-card img {
    height: 22px;
    width: auto;
    max-width: 65px;
    display: block;
    object-fit: contain;
}

.payment-badge {
    background: #14151b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-features-strip {
        justify-content: center;
    }
    .pricing-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2)::after {
        display: none;
    }
    .config-box {
        grid-template-columns: 1fr;
    }
    .dc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1100px) {
    .header-top-actions {
        gap: 8px;
        margin-left: 14px;
    }
    .top-action-link {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
}

@media (max-width: 768px) {
    .header-top-actions {
        margin-left: 0;
        gap: 6px;
    }
    .top-action-link span {
        display: none;
    }
    .top-action-link {
        padding: 7px;
    }
    .nav-links, .nav-actions .btn-ghost, .nav-actions .btn-discord {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .discord-banner {
        flex-direction: column;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-item::after {
        display: none !important;
    }
}

/* =========================================================
   Registration Page & WHMCS Style Form (Exact Reference Match)
   ========================================================= */
.register-page-container {
    padding: 50px 0 90px;
    max-width: 900px;
    margin: 0 auto;
}

.reg-card {
    background: rgba(14, 18, 28, 0.85);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-lg);
    padding: 50px 60px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
}

.reg-card-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 16px;
}

.reg-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--grad-silver-btn);
    border-radius: var(--radius-full);
}

.reg-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 36px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reg-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 18px;
}

.reg-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.reg-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.reg-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reg-label .required-star {
    color: #cbd5e1;
    margin-left: 4px;
}

.reg-label .hint-badge {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: normal;
}

.reg-input, .reg-select {
    width: 100%;
    background: rgba(8, 10, 15, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-ar);
    font-size: 0.95rem;
    color: #ffffff;
    outline: none;
    transition: var(--transition);
}

.reg-input:focus, .reg-select:focus {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
    background: rgba(15, 18, 26, 0.9);
}

.reg-input::placeholder {
    color: #475569;
}

/* Phone input with country flag selector */
.phone-field-wrap {
    display: flex;
    gap: 8px;
}

.country-code-select {
    width: 110px;
    background: rgba(8, 10, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: #e2e8f0;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

/* Password Generator Button */
.btn-generate-pass {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass-bright);
    color: #cbd5e1;
    font-family: var(--font-ar);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    transition: var(--transition);
}

.btn-generate-pass:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Newsletter Box */
.newsletter-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 26px 0 20px;
}

.newsletter-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.newsletter-card p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-toggle-row {
    background: rgba(8, 10, 16, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-label-text {
    font-weight: 600;
    font-size: 0.92rem;
    color: #e2e8f0;
}

/* Checkbox Agreement */
.agreement-check-row {
    margin: 24px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #cbd5e1;
    cursor: pointer;
    user-select: none;
}

.agreement-check-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #cbd5e1;
}

.agreement-check-row a {
    color: #ffffff;
    text-decoration: underline;
}

/* Captcha Box */
.captcha-container {
    background: rgba(8, 10, 16, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.captcha-hint {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 14px;
}

.captcha-inner-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 420px;
    margin: 0 auto;
}

.captcha-code-display {
    background: #ffffff;
    color: #0f172a;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    user-select: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.captcha-refresh-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.captcha-refresh-btn:hover {
    color: #0f172a;
    transform: rotate(180deg);
}

.captcha-input {
    width: 150px;
    text-align: center;
    letter-spacing: 3px;
    font-family: var(--font-en);
    font-weight: 700;
}

/* Big Register Button */
.btn-submit-reg {
    width: 100%;
    background: var(--grad-silver-btn);
    color: #07080b !important;
    border: none;
    padding: 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-ar);
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.btn-submit-reg:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.4);
}

/* Footer prompt */
.reg-footer-prompt {
    text-align: center;
    margin-top: 26px;
    font-size: 0.95rem;
    color: #94a3b8;
}

.reg-footer-prompt a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
    margin: 0 4px;
}

@media (max-width: 768px) {
    .reg-card {
        padding: 30px 20px;
    }
    .reg-grid-2, .reg-grid-3 {
        grid-template-columns: 1fr;
    }
    .captcha-inner-row {
        flex-direction: column;
    }
}

/* =========================================================
   Login Card & Page (Exact Reference Match)
   ========================================================= */
.login-card {
    max-width: 460px;
    margin: 60px auto 80px;
    background: rgba(14, 18, 28, 0.88);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-lg);
    padding: 44px 38px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    text-align: right;
    position: relative;
    overflow: hidden;
}

.login-card-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 14px;
}

.login-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--grad-silver-btn);
    border-radius: var(--radius-full);
}

.forgot-pass-link {
    font-size: 0.82rem;
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.forgot-pass-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.remember-me-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 24px;
    font-size: 0.9rem;
    color: #cbd5e1;
    cursor: pointer;
    user-select: none;
}

.remember-me-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: #cbd5e1;
}

.btn-submit-login {
    width: 100%;
    background: var(--grad-silver-btn);
    color: #07080b !important;
    border: none;
    padding: 13px;
    border-radius: var(--radius-md);
    font-family: var(--font-ar);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.22);
}

.btn-submit-login:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(255, 255, 255, 0.35);
}

.login-footer-prompt {
    text-align: center;
    margin-top: 24px;
    font-size: 0.92rem;
    color: #94a3b8;
}

.login-footer-prompt a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

/* =========================================================
   VIRN BOT CONTROL PANEL (Pterodactyl / Server Dashboard Style)
   ========================================================= */
body.panel-body {
    background-color: #07090e;
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

/* Sidebar on the Right (RTL) - Matches Original Appearance */
aside.panel-sidebar {
    width: 240px;
    background: #0b0e17;
    border-left: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 100vh;
    position: sticky;
    top: 0;
    z-index: 100;
}

.panel-sidebar-top {
    padding: 24px 18px;
}

.panel-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    text-decoration: none;
}

.sidebar-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-nav-item:hover, .sidebar-nav-item.active {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.sidebar-nav-item.active {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 3px solid #ffffff;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.sidebar-nav-item svg {
    color: var(--silver-mid);
    flex-shrink: 0;
}

.panel-sidebar-bottom {
    padding: 20px 18px;
    border-top: 1px solid var(--border-glass);
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.user-avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    border: 1px solid var(--border-glass-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #ffffff;
}

/* Main Panel Content Area */
.panel-main-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.panel-topbar {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 40px;
    display: flex;
    justify-content: flex-end; /* In RTL: aligns items to the LEFT */
    align-items: center;
}

.panel-topbar-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.panel-topbar-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.panel-topbar-link svg {
    color: #94a3b8;
    transition: var(--transition);
}

.panel-topbar-link:hover,
.panel-topbar-link:hover svg {
    color: #ffffff;
}

.panel-content-wrap {
    padding: 32px 40px;
    flex-grow: 1;
}

/* Welcome Header Box - Matches Image 2 */
.panel-welcome-banner {
    background: #111524;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.panel-welcome-text h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    font-family: var(--font-ar);
}

.panel-welcome-text p {
    color: #94a3b8;
    font-size: 0.88rem;
    margin: 0;
    font-family: var(--font-ar);
}

.btn-create-server {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-create-server:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Bot Cards Grid - Two Large Balanced Cards per row */
.bot-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 960px) {
    .bot-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual Bot Card (Exact match to Screenshots 1, 2, 3) */
.bot-server-card {
    background: linear-gradient(135deg, #151a2e 0%, #0e1222 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 22px 26px 20px 26px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 210px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.bot-server-card:hover {
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

/* Language Watermark Background Icon (Centered with color & text) */
.card-bg-watermark {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    max-width: 85%;
    height: 90px;
    pointer-events: none;
    user-select: none;
    opacity: 0.36;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr !important;
    unicode-bidi: isolate !important;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.bot-server-card:hover .card-bg-watermark {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(1.04);
}

.watermark-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    direction: ltr !important;
}

.watermark-svg text {
    direction: ltr !important;
    unicode-bidi: bidi-override !important;
    text-anchor: start;
}

/* Card Top Row */
.card-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.bot-title-area {
    text-align: right;
}

.bot-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-ar), var(--font-en);
    line-height: 1.3;
}

/* Status Badge - Matching Screenshots 1, 2, 3 */
.bot-status-tag {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ar);
    white-space: nowrap;
}

.bot-status-tag.running {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.bot-status-tag.stopped {
    background: #50171d;
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.bot-status-tag.unconfigured {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

/* 2-Column Metrics Grid - Matching Screenshots 1, 2, 3 */
.bot-metrics-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
    column-gap: 22px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    direction: rtl;
}

.bot-metric-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    font-size: 0.90rem;
    color: #94a3b8;
    white-space: nowrap;
}

.bot-metric-item .metric-lbl {
    color: #94a3b8;
    font-weight: 600;
}

.bot-metric-item .metric-val {
    color: #cbd5e1;
    font-family: var(--font-en), var(--font-ar);
    font-weight: 700;
    direction: ltr;
}

.bot-metric-item .metric-val.mono {
    font-family: monospace;
    letter-spacing: 0.5px;
}

/* Manage Button - Matching Screenshots 1, 2, 3 */
.btn-manage-server {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 11px 16px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-manage-server:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Empty / Unconfigured Slot Card */
.empty-slot-card {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    background: rgba(15, 19, 32, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.empty-slot-card:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(15, 19, 32, 0.7);
}

.slot-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.slot-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.slot-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    margin-bottom: 18px;
    max-width: 340px;
}

.lang-pick-buttons {
    display: flex;
    gap: 14px;
    width: 100%;
    max-width: 320px;
}

.btn-pick-lang {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass-bright);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-ar);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pick-lang.python:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.btn-pick-lang.java:hover {
    background: #ea580c;
    border-color: #ea580c;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.4);
}

/* Console Modal */
.console-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.console-modal-overlay.open {
    display: flex;
}

.console-box {
    background: #080a10;
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    height: 550px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.console-header {
    background: #0f131f;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.console-controls {
    display: flex;
    gap: 8px;
}

.btn-console-act {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-console-act.start { background: #10b981; color: #fff; }
.btn-console-act.restart { background: #f59e0b; color: #fff; }
.btn-console-act.stop { background: #ef4444; color: #fff; }

.console-terminal-view {
    flex-grow: 1;
    background: #040508;
    padding: 16px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #38bdf8;
    overflow-y: auto;
    direction: ltr;
    text-align: left;
    line-height: 1.5;
}

.console-input-bar {
    padding: 12px 16px;
    background: #0c0f18;
    border-top: 1px solid var(--border-glass);
    display: flex;
    gap: 10px;
}

.console-input {
    flex-grow: 1;
    background: #06070a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 14px;
    font-family: 'Courier New', Courier, monospace;
    border-radius: var(--radius-sm);
    outline: none;
}

@media (max-width: 1024px) {
    .bot-cards-grid {
        grid-template-columns: 1fr;
    }
    aside.panel-sidebar {
        width: 70px;
    }
    .sidebar-nav-item span, .panel-logo-wrap span, .user-profile-badge span {
        display: none;
    }
}

/* =========================================================
   No Subscription Clean Empty State (طلب العميل الدقيق)
   ========================================================= */
.no-sub-simple-text {
    padding: 90px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 1.15rem;
    font-weight: 500;
    font-family: var(--font-ar);
    letter-spacing: 0.2px;
}

/* =========================================================
   Admin Account Styling (fu@virn.host)
   ========================================================= */
.user-avatar-circle.admin {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 2px solid #fbbf24;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
    font-size: 1.1rem;
}

.admin-role-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.topbar-admin-pill {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

/* =========================================================
   Inline Login Error Messages (No browser alert)
   ========================================================= */
.login-inline-error {
    margin-top: 10px;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: shakeError 0.3s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.reg-input.input-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05) !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.35) !important;
}

/* =========================================================
   Header Logged-In User Profile Pill (Replaces Register/Login)
   ========================================================= */
.user-header-profile {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.user-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: default;
    user-select: none;
}

.user-header-pill .user-avatar-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.user-header-pill.client .user-avatar-dot {
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.user-header-email {
    font-family: var(--font-en);
    direction: ltr;
}

.user-header-badge {
    font-size: 0.72rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 7px;
    border-radius: 4px;
}

.btn-header-logout {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-family: var(--font-ar);
    font-weight: 700;
    transition: var(--transition);
}

.btn-header-logout:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}

/* Zero-Flicker Instant Auth State Toggle */
html.user-logged-in #headerBtnRegister,
html.user-logged-in #headerBtnLogin {
    display: none !important;
}

html.user-logged-in #headerUserWrap {
    display: inline-flex !important;
}

/* =========================================================
   Search Modal (مطابق لهوية فيرن وبدون أي تعارض وبدون اللون الأزرق)
   ========================================================= */
.search-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 6, 14, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 130px;
}

.search-modal-backdrop.open {
    display: flex;
}

.search-modal-container {
    background: #0f1322;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 660px;
    padding: 24px 26px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 255, 255, 0.02);
    animation: searchDrop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchDrop {
    from { opacity: 0; transform: translateY(-16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.search-title-label {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-ar);
}

.btn-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.search-input-wrapper {
    width: 100%;
    margin-bottom: 8px;
}

.search-dialog-input {
    width: 100%;
    background: #080a12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: var(--font-ar);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-dialog-input:focus {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 0 20px rgba(255, 255, 255, 0.04);
}

.search-sub-hint {
    color: #64748b;
    font-size: 0.82rem;
    font-family: var(--font-ar);
    text-align: right;
}

.search-results-dropdown {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-height: 220px;
    overflow-y: auto;
}

.search-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.search-item-row:hover {
    background: rgba(255, 255, 255, 0.08);
}

.search-item-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-ar);
}

.search-item-ip {
    color: #94a3b8;
    font-family: var(--font-en);
    font-size: 0.8rem;
}

.search-empty-item {
    color: #94a3b8;
    font-size: 0.85rem;
    text-align: center;
    padding: 12px;
    font-family: var(--font-ar);
}

/* =========================================================
   Account Section View (الحساب - بتصميم وهوية فيرن هوست المتناسقة)
   ========================================================= */
.account-card {
    background: #0f1322;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.account-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-header-icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
}

.card-header-icon-title svg {
    color: #94a3b8;
}

/* Card 1: تفاصيل الحساب */
.client-details-card {
    padding: 24px 28px;
}

.client-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.client-card-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.client-brand-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.client-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    font-family: var(--font-ar);
}

.client-card-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    margin: 0;
    font-family: var(--font-ar);
}

.btn-virn-action {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-virn-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

/* Card 2: المظهر */
.appearance-card {
    padding: 24px 28px;
}

.account-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.account-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-ar);
    margin: 0;
}

.appearance-rows-wrap {
    display: flex;
    flex-direction: column;
}

.appearance-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.appearance-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.appearance-item-label {
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-ar);
}

.appearance-native-select {
    background: #080a12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 9px 22px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.appearance-native-select:focus {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.toggle-switch-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
    font-family: var(--font-ar);
}

.custom-toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

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

.toggle-track {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #171c2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.25s;
    border-radius: 20px;
}

.toggle-track:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 3px;
    background-color: #64748b;
    transition: 0.25s;
    border-radius: 50%;
}

.custom-toggle-switch input:checked + .toggle-track {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.custom-toggle-switch input:checked + .toggle-track:before {
    transform: translateX(18px);
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* Card 3: مفاتيح SSH و API */
.keys-card {
    padding: 24px 28px;
}

.keys-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 14px;
    margin-bottom: 24px;
}

.keys-header-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-ar);
}

.keys-tabs-pill-group {
    display: flex;
    background: #080a12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 3px;
    gap: 4px;
}

.key-pill-tab {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.key-pill-tab:hover {
    color: #ffffff;
}

.key-pill-tab.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.keys-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: flex-start;
}

.keys-empty-col {
    padding-top: 10px;
}

.keys-empty-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
    font-family: var(--font-ar);
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    border-radius: 8px;
    width: 100%;
}

.keys-empty-badge svg {
    color: #475569;
}

.keys-inputs-col {
    display: flex;
    flex-direction: column;
}

.key-field-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.key-field-label {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-family: var(--font-ar);
    text-align: right;
    font-weight: 600;
}

.key-text-input,
.key-textarea-input {
    background: #080a12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 11px 14px;
    color: #ffffff;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    font-family: var(--font-ar);
    transition: var(--transition);
}

.key-text-input:focus,
.key-textarea-input:focus {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.key-field-hint {
    color: #475569;
    font-size: 0.78rem;
    text-align: right;
    margin-top: 5px;
    font-family: var(--font-ar);
}

.key-action-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-save-key {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 8px;
    padding: 9px 26px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-ar);
}

.btn-save-key:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   Updates Section View (التحديثات)
   ========================================================= */
#updatesView {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.updates-center-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.updates-empty-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #94a3b8;
    font-family: var(--font-ar);
    letter-spacing: 0.2px;
}

/* Section Footer */
.panel-section-footer {
    text-align: center;
    color: #475569;
    font-size: 0.82rem;
    font-family: var(--font-en);
    margin: 32px 0 10px 0;
}

html.user-logged-in #headerUserWrap {
    display: inline-flex !important;
}

/* =========================================================
   Server Creation Wizard Modal (انشاء سيرفر - 3 خطوات)
   ========================================================= */
.wizard-modal-container {
    background: #0f1322;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 820px;
    padding: 28px 34px;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 255, 255, 0.02);
    animation: searchDrop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
    margin-bottom: 26px;
}

.wizard-header-info {
    text-align: right;
}

.wizard-main-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-ar);
    margin-bottom: 4px;
}

.wizard-sub-title {
    color: #94a3b8;
    font-size: 0.9rem;
    font-family: var(--font-ar);
    margin: 0;
}

.wizard-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
}

.wizard-step-node {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 800;
    background: #080a12;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: #64748b;
    transition: var(--transition);
}

.wizard-step-node.active {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.wizard-step-node.completed {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.wizard-step-divider {
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.wizard-step-divider.active {
    background: rgba(255, 255, 255, 0.65);
}

/* Step 1: الخطة الأساسية */
.wizard-step-box {
    display: none;
}

.wizard-step-box.active {
    display: block;
}

.wizard-plan-card {
    background: #12172b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    max-width: 340px;
}

.wizard-plan-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: #161e38;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.wizard-plan-card.selected {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.wizard-plan-watermark {
    position: absolute;
    left: 14px;
    bottom: -6px;
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
    color: #ffffff;
}

.wizard-plan-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.wizard-plan-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #cbd5e1;
    font-family: var(--font-en);
}

.wizard-plan-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-ar);
}

.wizard-plan-specs {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.84rem;
    color: #94a3b8;
    font-family: var(--font-ar);
    position: relative;
    z-index: 2;
}

/* No Plan Empty State Box in Step 1 */
.wizard-no-plan-box {
    background: #0b0e18;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 34px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-plan-empty-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-bottom: 16px;
}

.no-plan-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-ar);
    margin-bottom: 6px;
}

.no-plan-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    font-family: var(--font-ar);
    max-width: 440px;
    margin: 0 auto 22px;
    line-height: 1.6;
}

.no-plan-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-wizard-buy-plan {
    background: #ffffff;
    color: #05070d;
    padding: 9px 20px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-wizard-buy-plan:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.btn-test-sub-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 9px 18px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-test-sub-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Step 2: نوع السيرفر (بدون بوتات نيكرون الجاهزة) */
.wizard-env-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.wizard-env-card {
    background: #12172b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 94px;
}

.wizard-env-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: #171f3a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.wizard-env-card.selected {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.wizard-env-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-en);
}

.wizard-env-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

/* Step 3: اسم السيرفر وتخصيص الموارد */
.wizard-field-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.wizard-field-label {
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-ar);
    text-align: right;
}

.wizard-input {
    background: #080a12;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 13px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: var(--font-ar);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.wizard-input:focus {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.wizard-field-hint {
    color: #64748b;
    font-size: 0.8rem;
    font-family: var(--font-ar);
    margin-top: 6px;
    text-align: right;
}

.wizard-resource-box {
    background: #080a12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}

.wizard-resource-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #94a3b8;
    font-family: var(--font-ar);
}

.wizard-resource-val {
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    font-family: var(--font-ar);
}

/* Wizard Footer Buttons */
.wizard-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-wizard-prev,
.btn-wizard-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    padding: 9px 24px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-wizard-prev:hover,
.btn-wizard-cancel:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-wizard-submit {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 9px 28px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.btn-wizard-submit:hover {
    background: #ffffff;
    color: #04060b;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

/* ============================================================
   VIRN HOST: SERVER MANAGEMENT INTERFACE (مطابق للصور 1 - 5)
   ============================================================ */

/* Server Sidebar Layout */
.server-sidebar-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.server-sidebar-top-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Back to Servers Button */
.btn-back-to-servers {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-ar);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    width: 100%;
}

.btn-back-to-servers:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Active Server Info Header */
.server-info-card {
    background: #0c101d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
}

.server-name-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-host-sub {
    font-family: var(--font-en);
    font-size: 0.78rem;
    color: #64748b;
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 8px;
}

.server-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #34d399;
}

.server-status-indicator.stopped {
    color: #f87171;
}

/* Power Control Buttons Row (Stop Red, Restart Slate, Start Green) */
.server-power-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.btn-server-power {
    height: 34px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #ffffff;
}

.btn-server-power.stop {
    background: #ef4444;
}

.btn-server-power.stop:hover {
    background: #dc2626;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.btn-server-power.restart {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-server-power.restart:hover {
    background: #334155;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-server-power.start {
    background: #16a34a;
}

.btn-server-power.start:hover {
    background: #15803d;
    box-shadow: 0 0 12px rgba(22, 163, 74, 0.4);
}

/* Server Sidebar Navigation Menu */
.server-menu-category {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    margin: 14px 4px 6px 4px;
    letter-spacing: 0.5px;
}

.server-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.server-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 7px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.server-menu-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.server-menu-link.active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    border-right: 3px solid #ffffff;
    font-weight: 700;
    box-shadow: -2px 0 12px rgba(255, 255, 255, 0.15);
}

.server-menu-link svg {
    flex-shrink: 0;
}

/* Server Management Container - Balanced and Spacious */
#serverManageView {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

/* Server View Header (Top Right Title + Icon Badge) */
.server-view-top-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 14px;
}

.server-view-title-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.server-view-title-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.server-view-title-badge {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.08);
}

/* ============================================================
   SCREEN 1: وحدة التحكم (Console & Stats)
   ============================================================ */
.server-terminal-container {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

.terminal-header-bar {
    padding: 8px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: rgba(255, 255, 255, 0.015);
}

.btn-ask-ai {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: var(--font-ar);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-ask-ai:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.terminal-logs-screen {
    height: 310px;
    overflow-y: auto;
    padding: 16px 20px;
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 0.86rem;
    line-height: 1.65;
    color: #e2e8f0;
    direction: ltr;
    text-align: left;
}

.terminal-logs-screen::-webkit-scrollbar {
    width: 6px;
}

.terminal-logs-screen::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.terminal-bottom-cli {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 18px;
    background: rgba(15, 19, 34, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-cli-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    outline: none;
    direction: rtl;
    text-align: right;
}

.terminal-cli-input::placeholder {
    color: #64748b;
}

.cli-action-icon-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cli-action-icon-btn:hover {
    color: #ffffff;
}

/* 3 Stats Cards below Terminal (استخدام المعالج، الذاكرة، المساحة) */
.server-stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.server-stat-box {
    background: #0d111d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.stat-icon-square {
    width: 42px;
    height: 42px;
    background: var(--grad-silver-btn);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07080b;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: var(--transition);
}

.stat-icon-square:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.stat-text-info {
    text-align: right;
}

.stat-title-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 3px;
    font-family: var(--font-ar);
}

.stat-value-highlight {
    font-size: 0.95rem;
    font-family: 'Consolas', 'Fira Code', monospace;
    direction: ltr;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stat-val-base {
    color: #ffffff !important;
    font-weight: 800;
    font-family: 'Consolas', monospace;
    letter-spacing: 0.3px;
}

.stat-val-slash {
    color: rgba(255, 255, 255, 0.35) !important;
    font-weight: 400;
    margin: 0 2px;
}

.stat-val-used {
    color: rgba(255, 255, 255, 0.45) !important;
    font-weight: 500;
    font-family: var(--font-ar), 'Consolas', monospace;
    letter-spacing: 0.2px;
}

.bot-metrics-row .stat-val-base {
    color: #ffffff !important;
    font-weight: 700;
    font-family: 'Consolas', monospace;
}

.bot-metrics-row .stat-val-slash {
    color: rgba(255, 255, 255, 0.35) !important;
    margin: 0 2px;
}

.bot-metrics-row .stat-val-used {
    color: rgba(255, 255, 255, 0.45) !important;
    font-weight: 500;
    font-family: var(--font-ar), 'Consolas', monospace;
}

.server-section-footer, .panel-section-footer {
    text-align: center;
    font-size: 0.78rem;
    color: #475569;
    padding: 8px 0;
    font-family: var(--font-ar);
}

/* Modal for File & Folder Creation (Modern in-page dialog) */
.file-action-modal-card {
    background: #0d1220;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    padding: 22px 24px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 255, 255, 0.03);
    animation: searchDrop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-file-preset-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-family: 'Consolas', monospace;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-file-preset-chip:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

#serverTabContent_files.drag-over-active .files-table-card {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

/* ============================================================
   SCREEN 2: مدير الملفات (Files Manager)
   ============================================================ */
.file-manager-toolbar {
    background: #0d111d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.file-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-file-tool {
    height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    font-family: var(--font-ar);
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-file-tool.primary {
    background: var(--grad-silver-btn);
    color: #07080b;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.btn-file-tool.primary:hover {
    background: #ffffff;
    color: #04060a;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
}

.btn-file-tool.ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.btn-file-tool.ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-file-tool.danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.btn-file-tool.danger:hover {
    background: rgba(239, 68, 68, 0.35);
}

.file-toolbar-search {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 14px;
    color: #ffffff;
    font-family: var(--font-ar);
    font-size: 0.82rem;
    outline: none;
    width: 170px;
    transition: var(--transition);
}

.file-toolbar-search:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.file-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Consolas', monospace;
    font-size: 0.84rem;
    color: #94a3b8;
    direction: ltr;
}

/* Files Table Container */
.files-table-card {
    background: #0d111d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    overflow: hidden;
    margin-bottom: 24px;
}

.files-table-element {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.files-table-element th {
    padding: 14px 18px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
}

.files-table-element td {
    padding: 13px 18px;
    color: #cbd5e1;
    font-size: 0.86rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}

.files-table-element tr:hover td {
    background: rgba(255, 255, 255, 0.025);
}

.file-row-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.file-row-name:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

.file-row-menu-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.file-row-menu-btn:hover {
    color: #ffffff;
}

/* ============================================================
   SCREEN 3, 4, 5: قواعد البيانات، النسخ، الشبكة
   ============================================================ */
.server-data-table-card {
    background: #0d111d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    overflow: hidden;
    margin-bottom: 24px;
}

.data-table-top-bar {
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 12px;
}

.data-table-btn-blue {
    background: var(--grad-silver-btn);
    color: #07080b;
    font-family: var(--font-ar);
    font-size: 0.86rem;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.2);
}

.data-table-btn-blue:hover {
    background: #ffffff;
    color: #04060a;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.38);
}

.data-table-title-area {
    text-align: right;
}

.data-table-main-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 3px;
}

.data-table-sub-title {
    color: #64748b;
    font-size: 0.8rem;
}

.generic-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.generic-data-table th {
    padding: 14px 22px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
}

.generic-data-table td {
    padding: 14px 22px;
    color: #cbd5e1;
    font-size: 0.86rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.table-empty-row-text {
    text-align: center;
    padding: 42px 20px;
    color: #64748b;
    font-size: 0.92rem;
    font-family: var(--font-ar);
}

/* Network Table Badges & Notes Input */
.badge-network-primary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 5px;
    display: inline-block;
}

.network-notes-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 12px;
    color: #ffffff;
    font-family: var(--font-ar);
    font-size: 0.82rem;
    width: 100%;
    max-width: 240px;
    outline: none;
    transition: var(--transition);
}

.network-notes-input:focus {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

/* Generic Server Section Footer */
.server-section-footer {
    text-align: center;
    color: #475569;
    font-size: 0.8rem;
    margin-top: 30px;
    margin-bottom: 10px;
    font-family: var(--font-en);
}

/* ============================================================
   Power Control Buttons Dynamic States (Matching Screenshots 1, 2, 3)
   ============================================================ */
.btn-server-power.stop.stopped-mode {
    background: #381a20 !important;
    border: 1px solid rgba(239, 68, 68, 0.22) !important;
    color: #f87171 !important;
    opacity: 0.75;
    box-shadow: none !important;
}

.btn-server-power.stop.stopped-mode:hover {
    background: #4a1d26 !important;
    opacity: 0.9;
}

.btn-server-power.start.running-mode {
    background: #143522 !important;
    border: 1px solid rgba(34, 197, 94, 0.22) !important;
    color: #4ade80 !important;
    opacity: 0.75;
    box-shadow: none !important;
}

.btn-server-power.start.running-mode:hover {
    background: #19442b !important;
    opacity: 0.9;
}

.server-status-indicator.stopped {
    color: #f87171 !important;
}

.server-status-indicator.stopped .pulse-dot {
    background: #ef4444 !important;
    box-shadow: none !important;
    animation: none !important;
}

/* ============================================================
   Code Editor Modal (Full-Featured IDE for Bot Files)
   ============================================================ */
.code-editor-modal-container {
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    width: 92%;
    max-width: 900px;
    height: 82vh;
    max-height: 750px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 99, 235, 0.15);
    animation: modalScaleIn 0.22s ease-out;
}

.code-editor-header {
    padding: 14px 22px;
    background: #0e1424;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-editor-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.code-editor-file-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-family: 'Consolas', monospace;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.code-editor-file-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    font-family: 'Consolas', monospace;
    direction: ltr;
    text-align: left;
}

.code-editor-path {
    font-family: 'Consolas', monospace;
    font-size: 0.78rem;
    color: #64748b;
    direction: ltr;
    display: block;
    text-align: left;
}

.code-editor-body {
    flex: 1;
    position: relative;
    background: #070913;
    overflow: hidden;
    display: flex;
}

.code-editor-textarea {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    padding: 18px 22px;
    color: #e2e8f0;
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    tab-size: 4;
    direction: ltr;
    text-align: left;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
}

.code-editor-textarea::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-editor-textarea::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.code-editor-footer {
    padding: 12px 22px;
    background: #0e1424;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-editor-info-left {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Consolas', monospace;
    font-size: 0.8rem;
    color: #94a3b8;
    direction: ltr;
}

.code-editor-actions-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================================
   Toast Notification System
   ============================================================ */
.virn-toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.virn-toast {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 18px;
    color: #ffffff;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    animation: toastSlideIn 0.25s ease-out forwards;
    transition: opacity 0.3s ease;
}

.virn-toast.success {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, #064e3b, #0f172a);
    color: #34d399;
}

.virn-toast.warning {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, #451a03, #0f172a);
    color: #fbbf24;
}

.virn-toast.danger {
    border-color: rgba(239, 68, 68, 0.35);
    background: linear-gradient(135deg, #450a0a, #0f172a);
    color: #f87171;
}

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

/* ============================================================
   TOP LOADING PROGRESS BAR (شريط التحميل الأبيض العلوي الفائق الأناقة)
   ============================================================ */
.virn-top-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    height: 3px;
    background: #ffffff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.95), 0 0 28px rgba(255, 255, 255, 0.75), 0 0 6px #ffffff;
    z-index: 999999999 !important;
    pointer-events: none;
    width: 0%;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    transition: width 0.28s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.22s ease;
}

.virn-top-loader.active {
    opacity: 1;
}

/* Glowing Flare Head at the moving tip of the loader */
.virn-top-loader::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), #ffffff);
    box-shadow: 0 0 18px #ffffff, 0 0 8px #ffffff;
    opacity: 1;
    transform: rotate(2deg) translateY(-1px);
}

/* ============================================================
   SMART CONSOLE AI ASSISTANT MODAL (مساعد وحدة التحكم الذكي - مطابق للصورة)
   ============================================================ */
#aiConsoleAssistantModal {
    align-items: center;
    justify-content: center;
    padding: 24px;
}

#aiConsoleAssistantModal.open {
    display: flex;
}

.ai-console-modal-container {
    background: #0f1422;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    width: 100%;
    max-width: 680px;
    padding: 26px 30px;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 255, 255, 0.03);
    animation: searchDrop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
    text-align: right;
    max-height: 92vh;
    overflow-y: auto;
}

.ai-modal-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    direction: ltr;
}

.ai-modal-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--font-ar);
    margin: 0;
}
    font-size: 1.32rem;
    font-weight: 800;
    font-family: var(--font-ar);
    margin: 0;
}

.ai-modal-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
    line-height: 1;
}

.ai-modal-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.ai-modal-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-family: var(--font-ar);
    line-height: 1.6;
    margin: 4px 0 2px 0;
}

.ai-modal-subdesc {
    color: #94a3b8;
    font-size: 0.85rem;
    font-family: var(--font-ar);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.ai-toolbar-above-input {
    display: flex;
    justify-content: flex-start;
    direction: ltr;
    align-items: center;
    margin-bottom: 10px;
}

.btn-ai-pick-3000 {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #0b0f19;
    font-family: var(--font-ar);
    font-size: 0.84rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-ai-pick-3000:hover {
    background: #e2e8f0;
    color: #000000;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.ai-textarea-box {
    position: relative;
    margin-bottom: 18px;
}

.ai-logs-textarea {
    width: 100%;
    min-height: 110px;
    max-height: 240px;
    background: #060811;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 14px;
    color: #f1f5f9;
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 0.84rem;
    line-height: 1.5;
    direction: ltr;
    text-align: left;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
}

.ai-logs-textarea:focus {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}

.ai-char-counter {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.72rem;
    color: #64748b;
    background: rgba(6, 8, 17, 0.85);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
    font-family: monospace;
}

.ai-modal-actions-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    direction: ltr;
    gap: 10px;
}

.btn-ai-modal-send {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #0b0f19;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    font-weight: 800;
    padding: 7px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-ai-modal-send:hover {
    background: #e2e8f0;
    color: #000000;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.btn-ai-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbd5e1;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 7px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ai-modal-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

/* AI Interactive Diagnostics Output Container */
.ai-response-container {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-loading-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: var(--font-ar);
}

.ai-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ai-result-card {
    background: #070913;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.25s ease-out;
}

.ai-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-ar);
}

.btn-copy-solution {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    font-size: 0.78rem;
    font-family: var(--font-ar);
    padding: 4px 12px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-copy-solution:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.ai-result-body {
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.7;
    font-family: var(--font-ar);
}

.ai-result-section {
    margin-bottom: 12px;
}

.ai-result-section-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-code-block {
    background: #020408;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'Consolas', monospace;
    font-size: 0.84rem;
    color: #38bdf8;
    direction: ltr;
    text-align: left;
    margin: 8px 0;
    overflow-x: auto;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-description {
        margin: 0 auto 30px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-floating-logo {
        width: 240px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-buttons .btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   STARTUP, SETTINGS, USERS, SCHEDULES, NETWORK & MODALS (مطابقة للصور 100%)
   ============================================================ */

/* 1. Grid layouts for Startup & Settings */
.server-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .server-two-col-grid {
        grid-template-columns: 1fr;
    }
}

.startup-top-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .startup-top-grid {
        grid-template-columns: 1fr;
    }
}

.server-form-card {
    background: #0d111d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.server-form-card-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 14px;
    text-align: right;
}

.server-field-label {
    color: #94a3b8;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    text-align: right;
}

.server-input-control {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    color: #ffffff !important;
    font-family: var(--font-ar) !important;
    font-size: 0.88rem !important;
    width: 100% !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: var(--transition);
}

.server-input-control:focus {
    border-color: rgba(56, 189, 248, 0.5) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15) !important;
}

.server-input-control.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    direction: ltr !important;
    text-align: left !important;
}

.server-field-hint {
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 6px;
    display: block;
    line-height: 1.5;
    text-align: right;
}

/* Startup Code Box */
.startup-code-display {
    background: #070912;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 14px 18px;
    color: #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.84rem;
    line-height: 1.7;
    direction: ltr;
    text-align: left;
    word-break: break-all;
    user-select: text;
    white-space: pre-wrap;
    min-height: 110px;
    box-sizing: border-box;
}

/* Section Title (المتغيرات) */
.startup-section-heading {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 32px 0 18px 0;
    text-align: right;
}

/* Docker Select */
.server-select-control {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    color: #ffffff !important;
    font-family: var(--font-ar) !important;
    font-size: 0.88rem !important;
    width: 100% !important;
    outline: none !important;
    cursor: pointer;
    appearance: none;
    -webkit-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='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 12px center !important;
    padding-left: 36px !important;
    box-sizing: border-box !important;
    transition: var(--transition);
}

.server-select-control:focus {
    border-color: rgba(56, 189, 248, 0.5) !important;
    background-color: rgba(255, 255, 255, 0.07) !important;
}

.server-select-control option {
    background: #0d111d;
    color: #ffffff;
}

/* SFTP Notice with Blue Bar */
.sftp-notice-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.82rem;
    border-right: 3px solid #38bdf8;
    padding: 4px 12px;
}

/* Server Tracking Info Tag */
.server-tracking-tag {
    background: #070912;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 6px 12px;
    color: #ffffff;
    font-family: ui-monospace, monospace;
    font-size: 0.82rem;
    display: inline-block;
}

/* Danger Action Buttons */
.btn-server-danger-outline {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #f87171;
    font-family: var(--font-ar);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-server-danger-outline:hover {
    background: rgba(239, 68, 68, 0.16);
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.2);
}

/* Users Table & 2FA Badge */
.subuser-user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.subuser-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #10b981;
    color: #042f2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.subuser-2fa-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Network Actions */
.badge-network-primary-solid {
    background: var(--grad-silver-btn);
    color: #07080b;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 6px;
    display: inline-block;
}

.btn-make-primary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-family: var(--font-ar);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-make-primary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.btn-delete-alloc {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-delete-alloc:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Dedicated Modal Overlay & Containers */
.pterodactyl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 6, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.pterodactyl-modal-overlay.open {
    display: flex !important;
}

.pterodactyl-modal-container {
    background: #0d121f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 100%;
    max-width: 580px;
    padding: 26px 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 255, 255, 0.03);
    animation: modalScaleIn 0.22s ease-out;
    box-sizing: border-box;
    text-align: right;
    direction: rtl;
}

.pterodactyl-modal-container * {
    box-sizing: border-box;
}

.pterodactyl-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.pterodactyl-modal-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.pterodactyl-field-group {
    margin-bottom: 18px;
    text-align: right;
}

.toggle-switch-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    box-sizing: border-box;
}

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

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

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #334155;
    transition: .3s;
    border-radius: 24px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 50%;
}

.switch-pill input:checked + .switch-slider {
    background-color: #38bdf8;
}

.switch-pill input:checked + .switch-slider:before {
    transform: translateX(20px);
    background-color: #ffffff;
}

/* =========================================================
   Dedicated Hosting Pages Styles (Web Hosting & Minecraft)
   Matches exact Necron-style layout from screenshots 1-5
   ========================================================= */

/* Top Service Navigation Strip */
.service-nav-bar {
    background: #090a10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
}

.service-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.service-nav-item {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding-bottom: 4px;
    position: relative;
    transition: color 0.2s ease;
}

.service-nav-item:hover {
    color: #ffffff;
}

.service-nav-item.active {
    color: #ffffff;
    font-weight: 700;
}

.service-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
    box-shadow: 0 0 10px #2563eb;
}

/* Hosting Hero Section */
.hosting-hero {
    position: relative;
    background: radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
                #07080b;
    padding: 70px 0 85px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hosting-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hosting-hero-content {
    text-align: right;
}

.hosting-tag {
    display: inline-block;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hosting-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hosting-desc {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 560px;
}

.btn-hosting-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--grad-silver-btn);
    color: #07080b !important;
    padding: 12px 34px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.22);
    transition: var(--transition);
}

.btn-hosting-cta:hover {
    background: #ffffff;
    color: #000000 !important;
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.hosting-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hosting-hero-visual img {
    max-width: 100%;
    max-height: 380px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: heroFloat 5s ease-in-out infinite alternate;
}

@keyframes heroFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* Systems / Tech Strip (Matches Image 3) */
.tech-strip {
    background: #07090e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 36px 0;
}

.tech-strip-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.tech-strip-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    text-align: right;
}

.tech-strip-title span {
    background: var(--grad-silver-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-cards-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tech-card-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    width: 82px;
    height: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    cursor: default;
}

.tech-card-pill:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.tech-card-pill span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
}

/* Pricing Section */
.hosting-pricing {
    background: #090a12;
    padding: 80px 0 100px;
}

.hosting-pricing-header {
    text-align: center;
    margin-bottom: 54px;
}

.hosting-pricing-tag {
    color: #cbd5e1;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
}

.hosting-pricing-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
}

.hosting-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hosting-plan-card {
    background: #0e111d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.hosting-plan-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.hosting-plan-card.featured {
    border-color: rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, #0e111d 100%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.06);
}

.plan-head-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    text-align: center;
}

.plan-head-subtitle {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    min-height: 38px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.plan-price-large {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 4px;
}

.plan-price-cycle {
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 22px;
}

.btn-plan-buy {
    background: var(--grad-silver-btn);
    color: #07080b !important;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 0;
    width: 100%;
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.16);
}

.btn-plan-buy:hover {
    background: #ffffff;
    color: #000000 !important;
    box-shadow: 0 6px 28px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.plan-features-section-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    text-align: center;
}

.plan-features-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 24px;
    padding: 0;
}

.plan-feature-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.feature-check-and-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-check-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 900;
    flex-shrink: 0;
}

.feature-help-badge {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: help;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .hosting-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hosting-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hosting-hero-content {
        text-align: center;
    }
    .hosting-desc {
        margin: 0 auto 28px;
    }
}

@media (max-width: 640px) {
    .hosting-cards-grid {
        grid-template-columns: 1fr;
    }
    .hosting-title {
        font-size: 2rem;
    }
    .tech-strip-container {
        justify-content: center;
        text-align: center;
    }
}

/* =========================================================
   Web Hosting & Minecraft Hero Visual Styles
   ========================================================= */
.web-hero-servers-wrapper,
.web-hero-robot-wrapper,
.mc-hero-visual-wrapper {
    width: 460px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroFloat 5s ease-in-out infinite alternate;
}

.server-stack-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.08));
}

.mc-block-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 45px rgba(34, 197, 94, 0.25));
}

/* Minecraft Theme Customizations */
.mc-hero-bg {
    background: radial-gradient(circle at 30% 40%, rgba(34, 197, 94, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
                #07080b;
}

.mc-tag {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.minecraft-theme .hosting-plan-card:hover {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(34, 197, 94, 0.15);
}

.minecraft-theme .hosting-plan-card.featured {
    border-color: rgba(34, 197, 94, 0.5);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.06) 0%, #0e111d 100%);
}

.feature-check-icon {
    font-weight: bold;
}

/* =========================================================
   Minecraft Server Hosting Panel (لوحة استضافة سيرفر ماين كرافت)
   ========================================================= */
.mc-panel-section {
    padding: 30px 0 70px;
    position: relative;
    background: #090c12;
    min-height: calc(100vh - 120px);
    overflow: hidden;
}

/* Minecraft Green Ambiance Lights */
.mc-ambient-green-1 {
    position: absolute;
    width: 650px;
    height: 650px;
    top: -100px;
    right: 15%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, rgba(16, 185, 129, 0.04) 45%, transparent 70%);
    filter: blur(85px);
    pointer-events: none;
    z-index: 1;
}

.mc-ambient-green-2 {
    position: absolute;
    width: 550px;
    height: 550px;
    bottom: 5%;
    left: 10%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.09) 0%, transparent 65%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
}

.mc-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(34, 197, 94, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Centered Layout - No Right Sidebar */
.mc-panel-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Welcome Header Banner - Matching Screenshot */
.mc-welcome-banner {
    background: #111524;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mc-welcome-banner h1 {
    font-size: 1.38rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
    font-family: var(--font-ar);
}

.mc-welcome-banner p {
    color: #94a3b8;
    font-size: 0.88rem;
    margin: 0;
    font-family: var(--font-ar);
}

.mc-btn-create {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    padding: 10px 22px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.mc-btn-create:hover {
    background: rgba(34, 197, 94, 0.22);
    border-color: rgba(34, 197, 94, 0.6);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

/* Centered Server Card Container */
.mc-servers-center-wrap {
    max-width: 680px;
    margin: 20px auto 50px auto;
}

/* Minecraft Server Card - Luxury Obsidian & Emerald Glow */
.mc-server-card {
    background: 
        radial-gradient(ellipse 90% 70% at 50% -20%, rgba(16, 185, 129, 0.25) 0%, transparent 65%),
        radial-gradient(circle at 10% 90%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(34, 197, 94, 0.12) 0%, transparent 50%),
        linear-gradient(160deg, #101626 0%, #080b12 100%);
    border: 1px solid rgba(34, 197, 94, 0.45);
    border-radius: 18px;
    padding: 30px 34px 26px 34px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 24px 60px -12px rgba(0, 0, 0, 0.85),
        0 0 40px -5px rgba(34, 197, 94, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 0 24px rgba(34, 197, 94, 0.05);
}

.mc-server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22c55e, #4ade80, #38bdf8, transparent);
    box-shadow: 0 0 16px #22c55e;
    z-index: 3;
}

.mc-server-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(34, 197, 94, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(34, 197, 94, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.8;
}

.mc-server-card:hover {
    border-color: rgba(34, 197, 94, 0.7);
    box-shadow: 
        0 30px 70px -10px rgba(0, 0, 0, 0.9),
        0 0 55px -5px rgba(34, 197, 94, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.mc-card-top-inner {
    position: relative;
    z-index: 2;
}

.mc-server-card .bot-metrics-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
    direction: rtl;
}

.mc-server-card .bot-metric-item {
    background: rgba(14, 20, 34, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 11px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.mc-server-card .bot-metric-item:hover {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(19, 27, 46, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(34, 197, 94, 0.08);
}

.mc-server-card .btn-manage-server {
    width: 100%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18) 0%, rgba(16, 185, 129, 0.28) 100%);
    border: 1px solid rgba(34, 197, 94, 0.55);
    color: #ffffff;
    font-family: var(--font-ar);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.mc-server-card .btn-manage-server:hover {
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    border-color: #4ade80;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.55);
    transform: translateY(-2px);
    color: #064e3b;
}

/* =========================================================
   Minecraft Server Management Layout with Right Sidebar (Image 2)
   ========================================================= */
.mc-fullscreen-dashboard {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #07090e;
    z-index: 999999;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    direction: rtl;
}

.mc-manage-container {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-top: 10px;
    margin-bottom: 50px;
    direction: rtl;
}

/* Right Sidebar (Full height attached to right edge, matching Bots panel) */
.mc-manage-sidebar {
    width: 250px;
    flex-shrink: 0;
    height: 100vh;
    background: #0b0e17;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
    border-top: none;
    border-bottom: none;
    border-radius: 0;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.mc-sidebar-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 9px 12px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: var(--transition);
}

.mc-sidebar-back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.mc-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mc-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: #cbd5e1;
    text-decoration: none;
    font-family: var(--font-ar);
    font-size: 0.94rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.mc-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.mc-sidebar-item.active {
    background: rgba(34, 197, 94, 0.15);
    color: #ffffff;
    border-right: 3px solid #22c55e;
}

.mc-sidebar-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mc-sidebar-item-left svg {
    color: #cbd5e1;
    transition: var(--transition);
}

.mc-sidebar-item.active .mc-sidebar-item-left svg {
    color: #4ade80;
}

.mc-sidebar-arrow {
    color: #64748b;
    transition: var(--transition);
}

.mc-sidebar-item.active .mc-sidebar-arrow {
    color: #4ade80;
    transform: translateX(-2px);
}

/* Management Content Area (Left of Sidebar) */
.mc-manage-main-content {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    background: #07080b;
    padding: 32px 40px 80px 40px;
    min-width: 0;
    box-sizing: border-box;
}

.mc-manage-view {
    max-width: 1040px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 992px) {
    .mc-fullscreen-dashboard {
        flex-direction: column;
        overflow-y: auto;
    }
    .mc-fullscreen-dashboard .mc-manage-sidebar {
        width: 100%;
        height: auto;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .mc-fullscreen-dashboard .mc-manage-main-content {
        height: auto;
        padding: 20px 16px 40px 16px;
    }
}

/* =========================================================
   TAB: السيرفر (Image 3 + CMD below)
   ========================================================= */
.mc-overview-box {
    background: #111524;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 26px 28px;
    margin-bottom: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.mc-overview-start-bar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 22px;
}

.btn-mc-big-start {
    background: #10b981;
    color: #ffffff;
    border: none;
    padding: 12px 42px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
    transition: var(--transition);
}

.btn-mc-big-start:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
}

.btn-mc-big-start.running {
    background: #ef4444;
    box-shadow: 0 6px 24px rgba(239, 68, 68, 0.45);
}
.btn-mc-big-start.running:hover {
    background: #dc2626;
}

/* Info Strip Rows (Image 3) */
.mc-info-strip {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mc-info-row {
    display: flex;
    align-items: center;
    background: #171d2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.mc-info-badge {
    background: #2563eb;
    color: #ffffff;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 100px;
    justify-content: center;
}

.mc-info-val {
    flex-grow: 1;
    padding: 10px 18px;
    color: #ffffff;
    font-family: monospace, var(--font-ar);
    font-size: 0.98rem;
    font-weight: 700;
    direction: ltr;
    text-align: right;
}

.btn-mc-info-action {
    background: #10b981;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-mc-info-action.blue {
    background: #0284c7;
}

.btn-mc-info-action:hover {
    opacity: 0.9;
}

/* 4-Stat Gauges Bar */
.mc-stats-gauges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

@media (max-width: 860px) {
    .mc-stats-gauges {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mc-gauge-card {
    background: rgba(17, 21, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px 18px;
}

.mc-gauge-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 6px;
}

.mc-gauge-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    font-family: monospace;
}

.mc-gauge-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.mc-gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Live Terminal Window */
.mc-terminal-box {
    background: #090c14;
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

.mc-terminal-top {
    background: rgba(20, 25, 42, 0.95);
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #94a3b8;
}

.mc-terminal-dots {
    display: flex;
    gap: 6px;
}

.mc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mc-dot.red { background: #ef4444; }
.mc-dot.yellow { background: #f59e0b; }
.mc-dot.green { background: #22c55e; }

.mc-terminal-logs {
    padding: 16px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.86rem;
    line-height: 1.6;
    height: 280px;
    overflow-y: auto;
    color: #d1d5db;
    direction: ltr;
    text-align: left;
    background: #06080d;
}

.mc-terminal-logs .info { color: #94a3b8; }
.mc-terminal-logs .success { color: #4ade80; }
.mc-terminal-logs .warn { color: #fbbf24; }
.mc-terminal-logs .error { color: #f87171; }

.mc-terminal-input-row {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d111c;
    direction: ltr;
}

.mc-terminal-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: #ffffff;
    font-family: 'Consolas', monospace;
    font-size: 0.92rem;
    outline: none;
}

.mc-terminal-input::placeholder {
    color: #64748b;
}

.btn-send-cmd {
    background: rgba(34, 197, 94, 0.15);
    border: none;
    border-left: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 0 20px;
    font-family: var(--font-ar);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-send-cmd:hover {
    background: #22c55e;
    color: #064e3b;
}

/* =========================================================
   TAB: الاعدادت (Exact Match to Image 4: server.properties)
   ========================================================= */
.mc-props-box {
    background: #111524;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.mc-props-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-family: monospace, var(--font-ar);
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

@media (max-width: 900px) {
    .mc-props-grid {
        grid-template-columns: 1fr;
    }
    .mc-manage-container {
        flex-direction: column;
    }
    .mc-manage-sidebar {
        width: 100%;
    }
}

.mc-prop-card {
    background: #0d121f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.mc-prop-card:hover {
    background: #111728;
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.mc-prop-card.full-width {
    grid-column: 1 / -1;
}

.mc-prop-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.mc-prop-label {
    font-size: 0.94rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-ar);
}

.mc-prop-sub {
    font-family: monospace;
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 5px;
    direction: ltr;
    text-align: right;
}

.mc-prop-select {
    background: #161e31;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 7px 12px;
    border-radius: 6px;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    min-width: 140px;
    transition: var(--transition);
}

.mc-prop-select:hover,
.mc-prop-select:focus {
    border-color: rgba(34, 197, 94, 0.5);
    background: #1b243b;
}

.mc-counter-box {
    display: flex;
    align-items: center;
    background: #161e31;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    overflow: hidden;
    padding: 2px 8px;
    gap: 8px;
}

.mc-counter-icon {
    font-size: 0.85rem;
}

.mc-counter-num {
    color: #ffffff;
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 800;
    min-width: 28px;
    text-align: center;
}

.mc-counter-btns {
    display: flex;
    flex-direction: column;
}

.btn-counter {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-weight: 800;
    font-size: 0.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    transition: var(--transition);
}

.btn-counter:hover {
    color: #ffffff;
}

.mc-toggle-btn {
    width: 44px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    border: 1px solid transparent;
    transition: var(--transition);
}

.mc-toggle-btn.on {
    background: rgba(34, 197, 94, 0.18);
    border-color: #22c55e;
    color: #4ade80;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.mc-toggle-btn.on:hover {
    background: rgba(34, 197, 94, 0.28);
}

.mc-toggle-btn.on .toggle-box {
    background: #22c55e;
    color: #ffffff;
}

.mc-toggle-btn.off {
    background: rgba(239, 68, 68, 0.18);
    border-color: #ef4444;
    color: #f87171;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.mc-toggle-btn.off:hover {
    background: rgba(239, 68, 68, 0.28);
}

.mc-toggle-btn.off .toggle-box {
    background: #ef4444;
    color: #ffffff;
}

.mc-toggle-btn .toggle-box {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 900;
}

.mc-pack-input-wrap {
    display: flex;
    align-items: center;
    background: #161e31;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    overflow: hidden;
    flex-grow: 1;
    max-width: 75%;
}

.mc-pack-icon {
    padding: 0 10px;
    color: #94a3b8;
}

.mc-pack-url-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 8px 10px;
    font-family: monospace;
    font-size: 0.88rem;
    outline: none;
    direction: ltr;
}

.btn-pack-upload {
    background: #2563eb;
    border: none;
    color: #ffffff;
    padding: 8px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-pack-upload:hover {
    background: #1d4ed8;
}

.mc-prompt-bar-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    max-width: 75%;
}

.mc-edit-icon {
    font-size: 1.1rem;
    cursor: pointer;
}

.mc-dirt-bar {
    flex-grow: 1;
    height: 36px;
    background: repeating-linear-gradient(
        45deg,
        #451a03,
        #451a03 6px,
        #3b1802 6px,
        #3b1802 12px,
        #542307 12px,
        #542307 18px
    );
    border: 1px solid #78350f;
    border-radius: 4px;
    cursor: pointer;
}

.btn-save-mc-props {
    background: #10b981;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.btn-save-mc-props:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Fullscreen Terminal Mode */
.server-terminal-container.fullscreen-terminal {
    position: fixed !important;
    top: 24px !important;
    left: 24px !important;
    right: 24px !important;
    bottom: 24px !important;
    z-index: 999999 !important;
    height: calc(100vh - 48px) !important;
    background: #080b12 !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9) !important;
}

.server-terminal-container.fullscreen-terminal .terminal-logs-screen {
    height: calc(100% - 95px) !important;
}

/* Highlight Glow Animation for Settings Section */
@keyframes mcSettingsGlow {
    0% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
    50% { box-shadow: 0 0 35px rgba(34, 197, 94, 0.5); }
    100% { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }
}

.mc-props-box.highlight-glow {
    animation: mcSettingsGlow 1.8s ease-out;
}

/* =========================================================
   DEDICATED MINECRAFT DASHBOARD (Edge-to-Edge Right Sidebar like Bots)
   ========================================================= */
.mc-fullscreen-dashboard {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    background: #07090e !important;
    display: flex;
    flex-direction: row !important; /* In RTL, right sidebar comes first on the right */
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mc-fullscreen-dashboard.hidden-dashboard {
    display: none !important;
}

.mc-fullscreen-dashboard .mc-manage-sidebar {
    width: 270px !important;
    height: 100vh !important;
    flex-shrink: 0 !important;
    background: #0b0e17 !important;
    border: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    padding: 16px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5) !important;
}

.mc-fullscreen-dashboard .mc-manage-main-content {
    flex: 1 !important;
    min-width: 0 !important;
    height: 100vh !important;
    overflow-y: auto !important;
    padding: 24px 36px 60px 36px !important;
    background: #07080b !important;
}

/* 3 Info Strips (Matching User Screenshot 3 Exactly) */
.mc-spec-strip {
    display: flex;
    align-items: stretch;
    height: 52px;
    background: #0b101d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.mc-spec-badge {
    background: #111726;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    font-weight: 800;
    font-size: 0.95rem;
    min-width: 140px;
    flex-shrink: 0;
    user-select: none;
    transition: var(--transition);
}

.mc-spec-badge svg {
    width: 18px;
    height: 18px;
    color: #22c55e;
    flex-shrink: 0;
}

.mc-spec-value {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    background: #080c16;
    text-align: center;
    user-select: text;
}

.mc-spec-value.mono {
    font-family: 'Consolas', 'Courier New', monospace;
    letter-spacing: 0.5px;
    color: #e2e8f0;
}

.mc-spec-btn {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 26px;
    font-weight: 800;
    font-size: 0.92rem;
    font-family: var(--font-ar);
    transition: var(--transition);
    flex-shrink: 0;
    direction: ltr; /* Keeps icon on left and Arabic text on right matching screenshot */
}

.mc-spec-btn.green,
.mc-spec-btn.btn-change {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.28);
}

.mc-spec-btn.green:hover,
.mc-spec-btn.btn-change:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
    transform: translateY(-1px);
}

.mc-spec-btn.blue,
.mc-spec-btn.btn-ai {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mc-spec-btn.blue:hover,
.mc-spec-btn.btn-ai:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.mc-spec-btn svg {
    width: 16px;
    height: 16px;
    color: currentColor;
}

/* Sidebar Menu Items (Image 1 Style) */
.mc-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}

.mc-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.mc-sidebar-item.active {
    background: rgba(16, 185, 129, 0.16) !important;
    border: 1px solid #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25) !important;
}

.mc-sidebar-item.active svg {
    color: #10b981 !important;
}

.mc-sidebar-item.active .mc-sidebar-arrow {
    color: #10b981 !important;
}

.mc-sidebar-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-sidebar-item-left svg {
    color: #94a3b8;
    flex-shrink: 0;
}

.mc-sidebar-arrow {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: bold;
}

/* ==========================================================================
   MINECRAFT SOFTWARE / ENGINES SELECTION (MATCHING USER SCREENSHOTS)
   ========================================================================== */
.mc-software-wrap {
    margin-top: 14px;
}

.mc-software-section {
    margin-bottom: 28px;
}

.mc-software-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 14px;
    font-family: var(--font-ar);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.mc-software-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mc-software-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.mc-software-grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.mc-soft-card {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #059669;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    position: relative;
    user-select: none;
}

.mc-soft-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
    border-color: rgba(255, 255, 255, 0.35);
}

.mc-soft-card.active {
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.65) !important;
}

.mc-soft-top {
    background: #10b981;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px;
}

.mc-soft-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.32);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-ar);
    pointer-events: none;
}

.mc-soft-active-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ffffff;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-family: var(--font-ar);
    pointer-events: none;
}

.mc-soft-bottom {
    background: #059669;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    font-family: 'Outfit', var(--font-ar), sans-serif;
    letter-spacing: 0.4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mc-soft-card:hover .mc-soft-top {
    background: #16a34a;
}

.mc-soft-card:hover .mc-soft-bottom {
    background: #15803d;
}

/* Upload Notification Banner */
.mc-upload-banner {
    background: #111827;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeInSlide 0.3s ease;
}

.mc-upload-bar-outer {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    margin: 0 16px;
}

.mc-upload-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #22c55e);
    border-radius: 999px;
    transition: width 0.2s ease;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
    .mc-software-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ============================================================
   Minecraft Server Version Picker Modal & Change IP Modal
   ============================================================ */
.mc-version-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 7, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}

.mc-version-modal-backdrop.open {
    display: flex;
}

.mc-version-modal-box {
    background: #0d121f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(16, 185, 129, 0.12);
    direction: rtl;
    text-align: right;
    animation: searchDrop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.mc-version-modal-header {
    padding: 22px 28px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.mc-version-modal-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mc-version-modal-software-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.mc-version-modal-title {
    color: #38bdf8;
    font-size: 1.45rem;
    font-weight: 900;
    font-family: var(--font-en), var(--font-ar);
    margin: 0;
}

.mc-version-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.mc-version-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.mc-version-modal-subbar {
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.mc-version-search-input {
    background: #080b14;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 16px;
    color: #ffffff;
    font-family: var(--font-ar);
    font-size: 0.88rem;
    width: 100%;
    max-width: 320px;
    outline: none;
    transition: var(--transition);
}

.mc-version-search-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.mc-version-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex-grow: 1;
}

.mc-version-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    direction: ltr;
}

.mc-version-pill-btn {
    background: #10b981;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 14px;
    color: #ffffff;
    font-family: monospace, var(--font-en);
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    user-select: none;
}

.mc-version-pill-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
    border-color: rgba(255, 255, 255, 0.4);
}

.mc-version-pill-btn.active {
    background: #047857;
    border: 2px solid #ffffff;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.6), inset 0 0 8px rgba(255, 255, 255, 0.2);
}

.mc-version-pill-btn svg {
    flex-shrink: 0;
}

/* =========================================================
   WHMCS Core Integration & Styling
   Seamlessly integrates WHMCS Client Area into VIRN Design
   ========================================================= */

html {
    font-size: 16px !important;
}

body {
    background-color: var(--bg-main) !important;
    color: #e2e8f0 !important;
    font-family: var(--font-ar) !important;
    font-size: 1rem !important;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    width: 100% !important;
    max-width: 1360px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 28px !important;
    padding-left: 28px !important;
}

@media (min-width: 1440px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1460px !important;
    }
}

@media (min-width: 1700px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1560px !important;
    }
}

.virn-page-wrapper {
    position: relative;
    z-index: 2;
    min-height: 70vh;
    padding-top: 35px;
    padding-bottom: 70px;
}

.header-top-row .brand-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.panel,
.panel.panel-sidebar,
.panel.panel-default,
div.sidebar .panel {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-md) !important;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card) !important;
    color: #cbd5e1 !important;
    margin-bottom: 24px !important;
    min-height: auto !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    position: static !important;
    float: none !important;
    overflow: hidden !important;
}

.panel-default > .panel-heading,
.panel-primary > .panel-heading,
.panel-info > .panel-heading,
.panel-success > .panel-heading,
.panel-warning > .panel-heading,
.panel-danger > .panel-heading,
.panel-sidebar > .panel-heading,
.panel-heading {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
    border-bottom: 1px solid var(--border-glass) !important;
    border-top-left-radius: var(--radius-md) !important;
    border-top-right-radius: var(--radius-md) !important;
    font-weight: 700 !important;
    padding: 14px 18px !important;
    display: block !important;
    position: static !important;
    min-height: auto !important;
}

.panel-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

.panel-body,
.panel.panel-sidebar .panel-body,
div.sidebar .panel .panel-body {
    background: transparent !important;
    color: #cbd5e1 !important;
    padding: 16px 18px !important;
    min-height: auto !important;
    height: auto !important;
    display: block !important;
    overflow: visible !important;
    flex: none !important;
}

.panel-footer,
.panel.panel-sidebar .panel-footer,
div.sidebar .panel .panel-footer {
    background: rgba(255, 255, 255, 0.02) !important;
    border-top: 1px solid var(--border-glass) !important;
    border-bottom-left-radius: var(--radius-md) !important;
    border-bottom-right-radius: var(--radius-md) !important;
    color: #94a3b8 !important;
    padding: 12px 18px !important;
    min-height: auto !important;
    height: auto !important;
    display: block !important;
    flex: none !important;
}

.panel-footer:empty {
    display: none !important;
    padding: 0 !important;
    border: none !important;
}

/* Sidebar List Group styling */
.panel-sidebar .list-group,
div.sidebar .list-group {
    margin-bottom: 0 !important;
    background: transparent !important;
}

.panel-sidebar .list-group-item,
div.sidebar .list-group-item {
    background: rgba(255, 255, 255, 0.02) !important;
    border: none !important;
    border-bottom: 1px solid var(--border-glass) !important;
    color: #94a3b8 !important;
    padding: 12px 18px !important;
    font-weight: 500 !important;
    font-size: 0.92rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: var(--transition) !important;
}

.panel-sidebar .list-group-item:last-child,
div.sidebar .list-group-item:last-child {
    border-bottom: none !important;
}

.panel-sidebar .list-group-item:hover,
div.sidebar .list-group-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

.panel-sidebar .list-group-item.active,
.panel-sidebar .list-group-item.active:hover,
.panel-sidebar .list-group-item.active:focus,
div.sidebar .list-group-item.active {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-right: 3px solid #ffffff !important;
}

.panel-sidebar .badge {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    padding: 3px 8px !important;
    font-size: 0.8rem !important;
}

/* Client Area Dashboard Stats Tiles */
.info-box {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-md) !important;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card) !important;
    display: flex !important;
    align-items: center !important;
    height: 86px !important;
    margin-bottom: 24px !important;
    transition: var(--transition) !important;
    cursor: pointer;
    overflow: hidden;
}

.info-box:hover {
    border-color: var(--border-glass-bright) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.08) !important;
}

.info-box .icon {
    width: 80px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-left: 1px solid var(--border-glass) !important;
}

.info-box .icon i {
    font-size: 32px !important;
    line-height: 1 !important;
}

.info-box .content-card {
    padding: 10px 18px !important;
    flex: 1;
}

.info-box .content-card .text {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    margin-bottom: 4px !important;
}

.info-box .content-card .number {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    text-align: right !important;
}

/* Home KB Search Box */
.home-kb-search {
    position: relative;
    margin-bottom: 24px;
}

.home-kb-search input {
    height: 52px !important;
    padding-right: 20px !important;
    padding-left: 45px !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-md) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
}

.home-kb-search i {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.1rem;
    pointer-events: none;
}

.table {
    color: #e2e8f0 !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

.table > thead > tr > th {
    border-bottom: 1px solid var(--border-glass-bright) !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.04) !important;
    font-weight: 700 !important;
    padding: 12px 14px !important;
}

.table > tbody > tr > td {
    border-top: 1px solid var(--border-glass) !important;
    padding: 12px 14px !important;
    vertical-align: middle !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.form-control {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-glass) !important;
    color: #ffffff !important;
    border-radius: var(--radius-sm) !important;
    height: auto !important;
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
    transition: var(--transition) !important;
}

.form-control:focus {
    border-color: rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.08) !important;
    outline: none !important;
}

.btn-primary {
    background: var(--grad-silver-btn) !important;
    color: #07080b !important;
    border: none !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 20px !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1) !important;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px) !important;
    color: #000 !important;
}

.btn-default {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid var(--border-glass) !important;
    color: #cbd5e1 !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 20px !important;
    transition: var(--transition) !important;
}

.btn-default:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: var(--border-glass-bright) !important;
}

.list-group-item {
    background: rgba(13, 15, 21, 0.7) !important;
    border: 1px solid var(--border-glass) !important;
    color: #cbd5e1 !important;
    padding: 12px 16px !important;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--border-glass-bright) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 18px !important;
    color: #64748b !important;
}

.breadcrumb > li + li:before {
    color: #475569 !important;
}

.breadcrumb > .active {
    color: #cbd5e1 !important;
}

.breadcrumb a {
    color: #94a3b8 !important;
}

.breadcrumb a:hover {
    color: #ffffff !important;
}

.alert {
    border-radius: var(--radius-sm) !important;
    backdrop-filter: blur(10px);
}

.alert-info {
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: #7dd3fc !important;
}

.alert-success {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #6ee7b7 !important;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #fca5a5 !important;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.12) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    color: #fcd34d !important;
}

.logincontainer {
    max-width: 480px;
    margin: 40px auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
}

.registercontainer {
    max-width: 840px;
    margin: 40px auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
}

.modal-content {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-glass-bright) !important;
    border-radius: var(--radius-md) !important;
    color: #e2e8f0 !important;
    box-shadow: var(--shadow-card) !important;
}

.modal-header {
    border-bottom: 1px solid var(--border-glass) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-top-left-radius: var(--radius-md) !important;
    border-top-right-radius: var(--radius-md) !important;
}

.modal-footer {
    border-top: 1px solid var(--border-glass) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.dropdown-menu {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-glass-bright) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-card) !important;
}

.dropdown-menu > li > a {
    color: #cbd5e1 !important;
    padding: 8px 16px !important;
}

.dropdown-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.nav-tabs {
    border-bottom: 1px solid var(--border-glass) !important;
}

.nav-tabs > li > a {
    color: #94a3b8 !important;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
}

.nav-tabs > li > a:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--border-glass) !important;
    color: #ffffff !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-glass) !important;
    border-bottom-color: transparent !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}




