/* Core Design System Tokens */
:root {
    --bg-color: #080a10;
    --sidebar-bg: #0d111c;
    --panel-bg: rgba(16, 22, 38, 0.55);
    --panel-border: rgba(255, 255, 255, 0.06);
    --panel-hover-border: rgba(255, 255, 255, 0.12);
    
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --primary-glow: rgba(59, 130, 246, 0.25);
    
    --danger-color: #ef4444;
    --danger-hover: #dc2626;
    --danger-glow: rgba(239, 68, 68, 0.2);
    
    --success-color: #10b981;
    --success-glow: rgba(16, 185, 129, 0.15);
    
    --warning-color: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.15);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius-lg: 16px;
    --border-radius-md: 10px;
    --border-radius-sm: 6px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    height: 100vh;
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 0%, rgba(239, 68, 68, 0.04) 0px, transparent 40%),
        radial-gradient(at 100% 0%, rgba(245, 158, 11, 0.05) 0px, transparent 50%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Layout Framework */
.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--panel-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    z-index: 10;
}

.sidebar-header {
    margin-bottom: 32px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.menu-item i {
    width: 18px;
    height: 18px;
}

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

.menu-item.active {
    color: var(--text-primary);
    background-color: rgba(59, 130, 246, 0.12);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 3px;
    background-color: var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.badge {
    margin-left: auto;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: 600;
}

.badge-danger {
    background-color: var(--danger-color);
    color: white;
    box-shadow: 0 0 8px var(--danger-glow);
}

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

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

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 500;
}

.user-role {
    font-size: 11px;
    color: var(--text-muted);
}

/* Main Content Styling */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-header {
    height: 80px;
    border-bottom: 1px solid var(--panel-border);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.header-title h1 {
    font-size: 24px;
    font-weight: 700;
}

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

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success-color);
    box-shadow: 0 0 8px var(--success-color);
    animation: beacon-ping 1.5s infinite;
}

.indicator-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--success-color);
}

/* Page Container (Scrollable) */
.page-container {
    padding: 32px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Tab Management */
.tab-content {
    display: none;
    animation: fade-in 0.3s ease-out;
}

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

/* Premium Panels / Glassmorphism Cards */
.glass-panel {
    background-color: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--panel-hover-border);
}

/* Stats Cards Styling */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    width: 18px;
    height: 18px;
}

.icon-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.icon-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.icon-primary {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

.icon-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.stat-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.trend {
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 600;
}

.trend i {
    width: 12px;
    height: 12px;
}

.trend-up {
    color: var(--success-color);
}

.trend-down {
    color: var(--danger-color);
}

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

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

.text-glow {
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.flex-grow-2 {
    flex: 2;
}

.flex-grow-1 {
    flex: 1;
}

.card {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
}

/* SVG Chart styling */
.chart-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-chart {
    width: 100%;
    height: 200px;
    overflow: visible;
}

.chart-dot {
    cursor: pointer;
    transition: r 0.2s ease;
}

.chart-dot:hover {
    r: 8;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px 0;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
}

.chart-legend {
    display: flex;
    gap: 16px;
    font-size: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

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

.color-danger {
    background-color: var(--danger-color);
}

/* Forms & UI Controls */
.form-group {
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

input, textarea, select {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    padding: 10px 14px;
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    transition: var(--transition-smooth);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background-color: rgba(255, 255, 255, 0.05);
}

textarea {
    resize: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

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

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

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

.btn-text {
    background: none;
    color: var(--primary-color);
    padding: 0;
}

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

.btn-full {
    width: 100%;
}

.margin-top {
    margin-top: 24px;
}

/* Compact Error List Widget */
.error-list-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.error-item-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: var(--border-radius-md);
    background-color: rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--danger-color);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.error-item-compact:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

.error-meta-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.error-title-compact {
    font-weight: 600;
    font-size: 14px;
}

.error-subtitle-compact {
    font-size: 12px;
    color: var(--text-secondary);
}

.error-action-compact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.error-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    font-weight: 500;
}

/* ==================== ERRORS PAGE SPECIFICS ==================== */
.filters-bar {
    padding: 16px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.search-box {
    position: relative;
    flex-grow: 1;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 16px;
    height: 16px;
}

.search-box input {
    padding-left: 40px;
}

.filter-options {
    display: flex;
    gap: 12px;
}

.filter-options select {
    width: auto;
}

.errors-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    height: calc(100vh - 250px);
}

.errors-list-container {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.error-row {
    padding: 16px;
    border-radius: var(--border-radius-md);
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.error-row:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
}

.error-row.selected {
    border-color: var(--primary-color);
    background-color: rgba(59, 130, 246, 0.04);
}

.error-row-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.error-badge-level {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-level-critical { background-color: rgba(239, 68, 68, 0.15); color: var(--danger-color); }
.badge-level-warning { background-color: rgba(245, 158, 11, 0.15); color: var(--warning-color); }
.badge-level-info { background-color: rgba(59, 130, 246, 0.15); color: var(--primary-color); }

.error-row-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
}

.error-row-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.error-row-meta span i {
    width: 12px;
    height: 12px;
}

/* Error Detail Pane */
.error-detail-container {
    padding: 24px;
    overflow-y: auto;
}

.empty-detail-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    gap: 12px;
    color: var(--text-muted);
    padding: 40px;
}

.empty-detail-state i {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
    margin-bottom: 8px;
}

.id-none {
    display: none;
}

.detail-content {
    animation: fade-in 0.3s ease-out;
}

.detail-header {
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.detail-headline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.detail-title {
    font-size: 20px;
    font-weight: 700;
}

.detail-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.detail-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

.meta-pill i {
    width: 12px;
    height: 12px;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 700;
}

.stack-trace-box {
    background-color: #05070a;
    border: 1px solid var(--panel-border);
    padding: 16px;
    border-radius: var(--border-radius-md);
    overflow-x: auto;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #e2e8f0;
}

.stack-line-highlight {
    color: var(--danger-color);
    background-color: rgba(239, 68, 68, 0.05);
    padding: 2px 4px;
    border-radius: 3px;
    display: block;
}

.device-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.device-stat-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    padding: 12px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.device-stat-val {
    font-weight: 600;
}

/* ==================== PUSH PAGE SPECIFICS ==================== */
.push-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Phone Mockup Styling */
.device-preview-container {
    display: flex;
    justify-content: center;
}

.device-mockup {
    width: 320px;
    height: 640px;
    border-radius: 40px;
    padding: 12px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    background-color: #000;
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="600" viewBox="0 0 300 600"><defs><linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%231e3a8a"/><stop offset="100%" stop-color="%23701a75"/></linearGradient></defs><rect width="300" height="600" fill="url(%23bg)"/></svg>');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.device-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.device-notch {
    width: 110px;
    height: 24px;
    background-color: #000;
    border-radius: 0 0 15px 15px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.device-icons {
    display: flex;
    gap: 4px;
}

.device-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 16px;
}

/* Push Notification Bubble inside device */
.push-notification-banner {
    background-color: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 14px;
    color: white;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    opacity: 0;
    animation: slide-down-device 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.push-banner-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.push-app-logo {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.push-app-name {
    font-weight: 600;
}

.push-time {
    margin-left: auto;
}

.push-banner-body h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.push-banner-body p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.device-lockscreen-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    text-align: center;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.home-bar {
    width: 100px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

/* ==================== ANALYTICS PAGE SPECIFICS ==================== */
.analytics-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.progress-bar-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.progress-track {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.doughnut-chart-mock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 20px 0;
}

.doughnut-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.donut {
    transform: rotate(-90deg);
}

.donut-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donut-val {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.donut-txt {
    font-size: 10px;
    color: var(--text-muted);
}

.donut-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
}

.d-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* ==================== DEVELOPER HUB ==================== */
.devhub-tabs {
    display: flex;
    border-bottom: 1px solid var(--panel-border);
    margin-bottom: 20px;
    gap: 4px;
}

.devhub-tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 12px 18px;
    font-weight: 500;
    cursor: pointer;
    font-size: 13px;
    position: relative;
    transition: var(--transition-smooth);
}

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

.devhub-tab-btn.active {
    color: var(--primary-color);
}

.devhub-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.devhub-tab-content {
    display: none;
    animation: fade-in 0.3s ease-out;
}

.devhub-tab-content.active {
    display: block;
}

.devhub-tab-content h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.devhub-tab-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.flow-step {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    padding: 20px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.flow-step h5 {
    font-size: 14px;
    font-weight: 600;
}

.flow-step p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

pre {
    background-color: #05070a;
    border: 1px solid var(--panel-border);
    padding: 16px;
    border-radius: var(--border-radius-md);
    overflow-x: auto;
    margin-bottom: 16px;
}

code {
    font-family: monospace;
    font-size: 12.5px;
    line-height: 1.6;
    color: #e2e8f0;
}

.code-comment {
    color: var(--text-muted);
}

.frameworks-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.comparison-card {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    border-radius: var(--border-radius-lg);
    padding: 20px;
}

.comp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.comp-header i {
    width: 20px;
    height: 20px;
}

.comp-header h5 {
    font-size: 15px;
    font-weight: 600;
}

.comp-body p {
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgba(13, 18, 30, 0.95);
    border: 1px solid var(--panel-border);
    border-left: 4px solid var(--primary-color);
    padding: 16px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transform: translateY(100px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-icon i {
    width: 24px;
    height: 24px;
}

.toast-content h5 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 11.5px;
}

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

/* Animations */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-down-device {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes beacon-ping {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

.pulse-animation {
    animation: heart-pulse 2s infinite ease-in-out;
}

@keyframes heart-pulse {
    0% { transform: scale(1); }
    15% { transform: scale(1.1); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
    70% { transform: scale(1); }
    100% { transform: scale(1); }
}
