/* CSS Variables & Theme Setup */
:root {
    --bg-dark: #09090b;
    --bg-card: rgba(20, 20, 25, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    
    /* Neon Colors */
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    --gradient-purple-pink: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    --gradient-dark: linear-gradient(180deg, #09090b 0%, #111115 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    background-image: var(--gradient-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-y: hidden;
    height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.accent-text { color: var(--accent-blue); }
.text-accent { color: var(--accent-blue); }
.text-purple { color: var(--accent-purple); }
.text-success { color: var(--success); }
.text-secondary { color: var(--text-secondary); }
.font-xs { font-size: 0.75rem; }
.font-xl { font-size: 2.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

/* App Layout Grid */
.app-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    background: rgba(15, 15, 20, 0.85);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 10;
}

.sidebar-header {
    height: 76px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 850;
    font-size: 1.3rem;
}

.logo-icon {
    font-size: 1.5rem;
    margin-right: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-menu {
    flex-grow: 1;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.menu-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 16px;
    margin-bottom: 6px;
    padding-left: 12px;
    letter-spacing: 0.05em;
}

.menu-label:first-of-type {
    margin-top: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.menu-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.menu-item:hover, .menu-item.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.menu-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-left: 3px solid var(--accent-blue);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-legal-links {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

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

.version-lbl {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
}

/* Main Content Workspace */
.main-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Header Bar */
.header-bar {
    height: 76px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: rgba(9, 9, 11, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    width: 320px;
}

.search-bar i {
    color: var(--text-secondary);
}

.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
    font-size: 0.85rem;
    width: 100%;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

/* Viewport & Scrollable Content */
.viewport {
    flex-grow: 1;
    overflow-y: auto;
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Section Header */
.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.welcome-banner h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.welcome-banner p {
    color: var(--text-secondary);
    max-width: 720px;
}

/* Stats Cards Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.4rem;
}

.stat-info h3 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.stat-sub {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 24px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.promo-card {
    background: linear-gradient(to right, rgba(9, 9, 11, 0.9), rgba(9, 9, 11, 0.4)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.promo-content {
    max-width: 480px;
}

.promo-badge {
    background: var(--accent-pink);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 16px;
}

.promo-card h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.promo-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.status-card h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.status-row span i {
    margin-right: 8px;
    font-size: 0.65rem;
}

/* DaaS Grid */
.daas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.daas-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    font-size: 0.9rem;
}

.benefit-list li i {
    color: var(--success);
    margin-right: 8px;
}

/* Speed Test */
.speedtest-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 600px;
    margin: 40px auto 0;
}

.speedtest-dial-box {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dial-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.dial-inner {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(9, 9, 11, 0.8);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
    animation: rotate-dial 0s linear infinite;
}

.speed-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.speed-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 8px 0;
}

.speed-unit {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.speedtest-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

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

.metric:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.metric-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.metric-val {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Latency Check */
.latency-container {
    max-width: 700px;
    margin: 20px auto 0;
}

.latency-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ping-monitor {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    height: 150px;
    padding: 16px;
}

.ping-graph {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 100%;
    width: 100%;
}

.graph-bar {
    flex-grow: 1;
    background: var(--accent-blue);
    border-radius: 2px 2px 0 0;
    transition: height 0.1s ease;
}

.graph-bar.warning { background: var(--warning); }
.graph-bar.danger { background: var(--danger); }

.latency-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-box .lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.stat-box .val {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Hardware Checks */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.hardware-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-container, .visualizer-container {
    background: rgba(0, 0, 0, 0.4);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    height: 240px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

canvas {
    width: 100%;
    height: 100%;
}

.video-placeholder, .visualizer-placeholder {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.video-placeholder i, .visualizer-placeholder i {
    font-size: 2.5rem;
}

.btn-group {
    display: flex;
    gap: 12px;
}

/* What is my IP */
.ip-container {
    max-width: 600px;
    margin: 20px auto 0;
}

.ip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.ip-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.ip-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.ip-address {
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-top: 8px;
    color: var(--accent-blue);
    word-break: break-all;
    overflow-wrap: break-word;
}

.ip-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ip-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.ip-detail-row span:first-child i {
    margin-right: 12px;
    color: var(--text-secondary);
}

/* Subnet Calculator */
.subnet-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.subnet-input-group {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--accent-blue);
}

.subnet-results-container {
    margin-top: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.res-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.res-row span {
    color: var(--text-secondary);
}

/* Link Shortener */
.shortener-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.shortener-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shortener-input-group {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.shortener-output {
    margin-top: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.shortener-output p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.output-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.shortener-list-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 16px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.table th, .table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    color: var(--text-secondary);
    font-weight: 500;
}

.table td {
    color: var(--text-primary);
}

/* Remote Screen Share */
.remote-container {
    max-width: 750px;
    margin: 20px auto 0;
}

.remote-login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.remote-brand-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.google-btn {
    background: #fff;
    color: #000;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.google-btn:hover {
    background: #f4f4f5;
    transform: translateY(-2px);
}

.google-icon {
    font-size: 1.15rem;
    margin-right: 6px;
}

.remote-console-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.console-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.console-title {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.console-body {
    height: 380px;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#remote-screen-feed {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.screen-placeholder {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.console-footer {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Subdomain Lease */
.lease-container {
    max-width: 900px;
    margin: 0 auto;
}

.lease-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
}

.lease-pricing-calculator, .lease-instructions {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.subdomain-input {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.subdomain-input input {
    background: transparent;
    border: none;
    flex-grow: 1;
    color: var(--text-primary);
    padding: 12px 16px;
    outline: none;
    font-family: var(--font-body);
}

.subdomain-domain {
    padding: 0 16px;
    color: var(--text-secondary);
    border-left: 1px solid var(--border-color);
    font-weight: 500;
}

.status-msg {
    font-size: 0.75rem;
    display: block;
    margin-top: 4px;
}

/* Custom Range Slider */
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: transform 0.1s;
}

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

.lease-price-summary {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.price-row span {
    color: var(--text-secondary);
}

.price-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
    margin-top: 4px;
}

.total-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--success);
}

.dns-record-box {
    margin-top: 16px;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dns-field {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.dns-field span {
    color: var(--text-secondary);
}

/* Helpdesk Portal */
.helpdesk-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.helpdesk-card, .helpdesk-list-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    max-height: 400px;
    overflow-y: auto;
}

.no-tickets {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    padding: 40px 0;
    gap: 12px;
}

.no-tickets i {
    font-size: 2.5rem;
}

.ticket-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
}

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

.ticket-subject {
    font-weight: 600;
    font-size: 0.95rem;
}

.ticket-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.ticket-status.open {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.ticket-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Cookie Consent Bottom Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 800px;
    background: rgba(15, 15, 20, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translate(-50%, 50px);
    pointer-events: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--warning);
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.cookie-content a {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* Modals System */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: calc(100% - 32px);
    max-width: 600px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    max-height: 80%;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-body h3 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-top: 8px;
}

/* Sidebar Mobile Hamburger & Overlay */
.hamburger-menu {
    display: none;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Dual IP Box Styling */
.ip-addresses-row {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.ip-box {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ip-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Responsive Layout */
@media (max-width: 992px) {
    .app-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        width: 260px;
        height: 100vh;
        transition: left 0.3s ease;
        z-index: 999;
        display: flex;
    }
    .sidebar.active {
        left: 0;
    }
    .hamburger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: var(--text-primary);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 4px;
        margin-right: 16px;
    }
    .ip-addresses-row {
        flex-direction: column;
        gap: 16px;
    }
    .header-bar {
        padding: 0 20px;
    }
    .viewport {
        padding: 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .daas-grid {
        grid-template-columns: 1fr;
    }
    .hardware-grid {
        grid-template-columns: 1fr;
    }
    .lease-card {
        grid-template-columns: 1fr;
    }
    .helpdesk-container {
        grid-template-columns: 1fr;
    }
}
