:root {
    /* Refined Light Theme */
    --bg-gradient: linear-gradient(135deg, #f8faff 0%, #eef2f7 100%);
    --card-bg: #ffffff;
    --border-color: rgba(0, 70, 255, 0.08);
    /* Sophisticated subtle blue-tint border */
    --text-primary: #1a1c21;
    --text-secondary: #585e6d;
    --accent-glow: #3b82f6;
    /* Modern Blue */
    --panel-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --modal-bg: #ffffff;
    --log-item-border: #edf2f7;
    --sidebar-bg: #ffffff;
    --topbar-bg: rgba(255, 255, 255, 0.8);
    --glow-opacity: 0.2;
    --card-header-color: #64748b;
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-gradient: linear-gradient(135deg, #1e1e24 0%, #0b0b0f 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-glow: #0affff;
    --panel-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    --modal-bg: rgba(30, 30, 36, 0.95);
    --log-item-border: rgba(255, 255, 255, 0.05);
    --sidebar-bg: rgba(0, 0, 0, 0.4);
    --topbar-bg: rgba(0, 0, 0, 0.2);
    --glow-opacity: 0.4;
    --card-header-color: rgba(255, 255, 255, 0.6);
}

body {
    background: var(--bg-gradient);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    transition: background 0.3s, color 0.3s;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ambient Background Lights */
body::before,
body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(100px);
    opacity: 0.15;
    animation: drift 20s infinite alternate;
}

body::before {
    background: #00f260;
    top: -200px;
    left: -200px;
}

body::after {
    background: #0575e6;
    bottom: -200px;
    right: -200px;
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.container {
    width: 500px;
    padding: 3rem;
    border-radius: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: var(--panel-shadow);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.robot-stage {
    width: 380px;
    height: 380px;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glow behind robot */
.glow-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
    opacity: var(--glow-opacity);
    animation: pulse 4s infinite ease-in-out;
}

.robot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    animation: levitate 6s ease-in-out infinite;
}

@keyframes levitate {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.status-container {
    margin-bottom: 2.5rem;
}

.status-value {
    font-size: 5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.status-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 5px;
}

/* HP Bar System */
.hp-system {
    width: 100%;
}

.hp-bar-bg {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.hp-fill {
    height: 100%;
    background: linear-gradient(90deg, #00f260, #0575e6);
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
    /* Smooth easing */
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.5);
}

.hp-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Fallback */
.fallback-icon {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.2);
    animation: levitate 6s ease-in-out infinite;
}

/* Nav Button */
.nav-button {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


/* ==================== */
/* DASHBOARD LAYOUT     */
/* ==================== */

.dashboard-layout {
    display: flex;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-glow);
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.nav-logo {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.nav-links a,
.logout-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--card-bg);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.logout-link {
    margin-top: auto;
    color: #ff5f56;
}

.logout-link:hover {
    background: rgba(255, 95, 86, 0.1);
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.breadcrumbs {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f260, #0575e6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
}

/* Grid System */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto 1fr;
    gap: 1.5rem;
    height: 100%;
}

.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--panel-shadow);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: var(--accent-glow);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.wide-card {
    grid-column: span 3;
}

.tall-card {
    grid-row: span 2;
}

/* Card Content */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--card-header-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.icon-bg {
    opacity: 0.2;
    font-size: 2rem !important;
}

.icon-pulse {
    animation: icon-pulse 3s infinite ease-in-out;
}

@keyframes icon-pulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
        text-shadow: 0 0 0 rgba(10, 255, 255, 0);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
        text-shadow: 0 0 10px rgba(10, 255, 255, 0.3);
    }
}

.text-success {
    color: #10b981;
    /* Darker emerald for light mode */
}

[data-theme="dark"] .text-success {
    color: #00f260;
}

.text-danger {
    color: #ef4444;
    /* Vivid red */
}

.text-warning {
    color: #f59e0b;
    /* Amber */
}

.bg-success {
    background: #10b981 !important;
}

.bg-warning {
    background: #f59e0b !important;
}

.bg-danger {
    background: #ef4444 !important;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    background-color: #555;
}

.status-dot.online {
    background-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    animation: blink 2s infinite;
}

[data-theme="dark"] .status-dot.online {
    background-color: #00f260;
    box-shadow: 0 0 10px #00f260;
}

.status-dot.offline {
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.icon-heartbeat {
    animation: heartbeat 1.5s infinite ease-in-out;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    15% {
        transform: scale(1.2);
        opacity: 0.4;
    }

    30% {
        transform: scale(1);
        opacity: 0.2;
    }

    45% {
        transform: scale(1.2);
        opacity: 0.4;
    }

    60% {
        transform: scale(1);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

.card-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-trend {
    font-size: 0.9rem;
}

.positive {
    color: #00f260;
}

.neutral {
    color: var(--text-secondary);
}

.text-safe {
    color: #0affff;
}

/* Placeholder Chart */
.chart-placeholder {
    height: 200px;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding-top: 1rem;
}

.bar {
    flex-grow: 1;
    background: linear-gradient(to top, rgba(5, 117, 230, 0.2), #00f260);
    border-radius: 5px 5px 0 0;
    opacity: 0.8;
    transition: height 0.5s;
}

/* Logs */
.log-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Custom Scrollbar */
.custom-scroll::-webkit-scrollbar {
    width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.log-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--log-item-border);
}

.badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    color: #000;
}

.badge.success {
    background: #00f260;
}

.badge.warning {
    background: #ffd700;
}

.badge.info {
    background: #00d2ff;
}

.time {
    color: var(--text-secondary);
    font-family: 'Inter', monospace;
    font-size: 0.8rem;
}

/* Centered Layout Variant */
.dashboard-layout.centered-layout {
    flex-direction: column;
}

.brand-center {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-glow);
    letter-spacing: 2px;
}

.brand-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.update-indicator {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0;
    opacity: 0.8;
}

.top-bar.centered-header {
    justify-content: space-between;
    background: var(--topbar-bg);
    padding: 1rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff5f56;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 95, 86, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: rgba(255, 95, 86, 0.2);
    transform: translateY(-1px);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wide-card {
        grid-column: span 2;
    }

    .container {
        width: 90%;
        padding: 2rem;
    }

    .robot-stage {
        width: 280px;
        height: 280px;
    }

    .status-value {
        font-size: 4rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .wide-card {
        grid-column: span 1;
    }

    .main-content {
        padding: 1rem;
    }

    .top-bar.centered-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .brand-center {
        font-size: 1.2rem;
    }

    .nav-logo {
        width: 32px;
        height: 32px;
    }

    .card-value {
        font-size: 2rem;
    }

    .glass-panel {
        padding: 1rem;
        border-radius: 16px;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .logs-modal-wide {
        max-width: 100%;
    }

    .container {
        width: 95%;
        padding: 1.5rem;
        border-radius: 24px;
    }

    .robot-stage {
        width: 200px;
        height: 200px;
        margin-bottom: 1rem;
    }

    .status-value {
        font-size: 3rem;
    }

    .nav-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .logout-btn span:not(.material-icons) {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .icon-bg {
        display: none;
    }

    .hp-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* =============================================
   LOADING SPINNER
   ============================================= */

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--accent-glow);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, var(--border-color) 25%, transparent 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* =============================================
   TOOLTIPS
   ============================================= */

[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::before,
[data-tooltip]::after {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1001;
    pointer-events: none;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0.75rem;
    background: var(--text-primary);
    color: var(--card-bg);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 6px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-tooltip]::after {
    content: '';
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-primary);
    margin-bottom: -4px;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after,
[data-tooltip]:focus::before,
[data-tooltip]:focus::after {
    opacity: 1;
    visibility: visible;
}

/* =============================================
   ACCESSIBILITY (a11y)
   ============================================= */

/* Focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-glow);
    outline-offset: 2px;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-glow);
    color: #000;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000;
        --text-secondary: #333;
    }

    [data-theme="dark"] {
        --border-color: #fff;
        --text-secondary: #ccc;
    }

    .glass-panel {
        border-width: 2px;
    }
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==================== */
/* TOAST NOTIFICATIONS  */
/* ==================== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: var(--modal-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid #3b82f6;
    padding: 1rem 1.5rem;
    padding-bottom: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 450px;
    backdrop-filter: blur(20px);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    animation: toastSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), toastFadeOut 0.5s ease forwards;
    animation-delay: 0s, 4.5s;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast.success {
    border-left-color: #10b981;
}

.toast-icon {
    font-size: 1.5rem !important;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    opacity: 1;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
}

.toast-progress-fill {
    height: 100%;
    width: 100%;
    background: #3b82f6;
    animation: toastProgress 5s linear forwards;
    transform-origin: left;
}

.toast.error .toast-progress-fill {
    background: #ef4444;
}

.toast.warning .toast-progress-fill {
    background: #f59e0b;
}

.toast.success .toast-progress-fill {
    background: #10b981;
}

@keyframes toastProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    0% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Spinner for loading state */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-glow);
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* =============================================
   Offline Mode
   ============================================= */
#offline-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ef4444;
    color: white;
    text-align: center;
    padding: 12px;
    z-index: 10000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    animation: bannerSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@keyframes bannerSlideIn {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

body.offline-mode .dashboard-grid,
body.offline-mode .wide-card {
    filter: grayscale(0.8) opacity(0.5);
    pointer-events: none;
    transition: all 0.5s ease;
}

body.offline-mode #health-value {
    color: #ef4444 !important;
}

.offline-reconnect-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    display: inline-block;
}