:root {
    /* Premium Software Palette */
    --bg-main: #f1f5f9;
    --bg-card: #ffffff;

    /* Primary Brand Gradient - Modern Emerald Software Accent */
    --primary-color: #059669;
    --primary-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --primary-shadow: rgba(16, 185, 129, 0.35);

    /* Danger/Action Gradient */
    --danger-gradient: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --danger-shadow: rgba(220, 38, 38, 0.35);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #cbd5e1;
    --input-bg: #f8fafc;

    /* Depth Studies */
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
    --hover-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);

    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.05) 0px, transparent 50%);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    min-height: 100vh;
}

/* Main Layout */
.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
    /* Push footer to bottom */
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .container {
        gap: 1.5rem;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 1rem;
    padding: 2rem 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(240, 242, 245, 0.5) 100%);
    border-radius: 24px;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Dashboard Grid (Bento Style) */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    align-items: start;
}

/* Column Assignments */
.col-status {
    grid-column: span 4;
}

.col-actions {
    grid-column: span 8;
}

/* Responsive Grid */
@media (max-width: 1024px) {

    .col-status,
    .col-actions {
        grid-column: span 12;
    }

    .col-status {
        order: -1;
        /* Status always on top on mobile */
    }
}

/* --- Navigation Bar --- */
.navbar {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 1rem;
    z-index: 1100;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1.2rem;
        margin-bottom: 1.5rem;
        border-radius: 16px;
    }
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    box-shadow: none;
    width: auto;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-center {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 6rem 1.5rem 2rem 1.5rem;
        gap: 2rem;
        z-index: 2000;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }

    .nav-center.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.8rem;
        font-weight: 700;
        width: auto;
        padding: 0.5rem 1rem;
        color: var(--text-primary);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
    }

    .mobile-close {
        display: block !important;
        position: absolute;
        top: 2rem;
        right: 2rem;
        font-size: 2.5rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-primary);
    }

    .mobile-logout-link {
        display: block !important;
        margin-top: 1rem;
        color: #ef4444 !important;
        /* Red color for logout */
        font-weight: 700;
        font-size: 1.5rem;
    }
}

.mobile-logout-link {
    display: none;
}

.mobile-close {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 128, 105, 0.2);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-icon,
.logo-text {
    display: none;
}

.nav-center {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* User Profile Section */
.profile-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    /* Reset generic button padding */
    transition: transform 0.2s;
}

.avatar-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: white;
    width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transform-origin: top right;
    animation: scaleIn 0.2s ease-out forwards;
    z-index: 1000;
}

@media (max-width: 768px) {
    .dropdown-menu {
        right: -50px;
        /* Slight offset to keep it fully onscreen on small devices */
        width: 260px;
    }
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-header {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.user-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: block;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.dropdown-item {
    padding: 0.7rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.dropdown-item.danger {
    color: #ef4444;
}

.dropdown-item.danger:hover {
    background: #fef2f2;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hide original header if sticking around, or repurposed */
header.original-header {
    display: none;
}

/* Cards */
/* Cards Refined */
.status-card,
.qr-card,
.message-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: clamp(1rem, 5vw, 2rem);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.status-card:hover,
.qr-card:hover,
.message-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
    border-color: rgba(0, 128, 105, 0.1);
}

/* Section Headers inside Cards */
h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

h2::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 4px;
}

.status-card:hover,
.qr-card:hover,
.message-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-2px);
}

h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Status Card Specifics */
.connection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.status-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

#qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    min-height: 264px;
    /* Standard QR size height */
    cursor: pointer;
    border: 2px dashed rgba(0, 128, 105, 0.2);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.2s ease-in-out;
    background: rgba(248, 250, 252, 0.5);
    user-select: none;
}

#qr-container:hover {
    border-color: var(--primary-color, #008069);
    background: rgba(0, 128, 105, 0.04);
    box-shadow: 0 4px 12px rgba(0, 128, 105, 0.1);
}

#qr-container canvas,
#qr-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

#qr-container:hover img {
    transform: scale(1.02);
}

@keyframes qr-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Consolidated Status Indicator */
.status-indicator {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    word-break: break-word;
    /* Prevent overflow */
}

/* Status Pulse Animation */
.status-indicator::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
}

.status-indicator.connected {
    background: rgba(0, 168, 132, 0.1);
    color: #00a884;
    border: 1px solid rgba(0, 168, 132, 0.2);
}

.status-indicator.connected::before {
    box-shadow: 0 0 0 0 rgba(0, 168, 132, 0.7);
    animation: pulse-green 2s infinite;
}

.status-indicator.disconnected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-indicator.disconnected::before {
    animation: pulse-red 2s infinite;
}

/* Inputs & Forms Modernization */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="number"],
.input-group input[type="password"],
.input-group textarea,
.input-group select {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 168, 132, 0.1);
    transform: translateY(-1px);
}

/* Custom File Input */
input[type="file"] {
    position: relative;
    padding: 0.8rem;
    background: white;
    border: 1px dashed #cbd5e1;
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    background: #e2e8f0;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    margin-right: 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

input[type="file"]:hover::file-selector-button {
    background: #cbd5e1;
}

/* Modern Buttons (Force Override) */
button,
input[type="submit"],
/* Ensure submit inputs match buttons */
.btn-primary {
    appearance: none;
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 168, 132, 0.3);
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    /* Ensure z-index works */
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
    /* Remove mobile highlight tap rect */
}

/* Mobile Toggle Specifics */
.mobile-toggle {
    width: auto !important;
    /* Force auto width override */
    z-index: 1101;
    /* Above navbar background */
    position: relative;
    padding: 0.5rem 1rem;
    /* Larger touch target */
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 168, 132, 0.4);
}

.btn-danger {
    background: var(--danger-gradient) !important;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3) !important;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.4) !important;
}

.btn-secondary {
    background: #334155 !important;
    box-shadow: 0 4px 6px -1px rgba(51, 65, 85, 0.3) !important;
}

.btn-light {
    background: #f1f5f9 !important;
    color: #334155 !important;
    box-shadow: 0 4px 6px -1px rgba(148, 163, 184, 0.3) !important;
}

.btn-light:hover {
    background: #e2e8f0 !important;
    transform: translateY(-2px);
}

/* Bulk Sender Enhancements */
#bulk-progress {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 1.5rem;
}

#bulk-bar {
    background: var(--primary-gradient);
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 8px var(--primary-shadow);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 168, 132, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 168, 132, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 168, 132, 0);
    }
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .dashboard-grid {
        gap: 1rem;
    }

    .status-display {
        padding: 1rem;
    }

    .plan-details-grid {
        grid-template-columns: 1fr !important;
    }

    .input-row {
        grid-template-columns: 1fr !important;
    }

    .btn-group-responsive {
        grid-template-columns: 1fr !important;
    }
}

/* --- Modern Admin Styles --- */

/* Card Refinements */
.status-card h2,
.message-card h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Glass Tables */
.table-glass-container {
    background: transparent;
    overflow-x: auto;
}

.table-glass {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    /* Row spacing */
}

.table-glass thead th {
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table-glass tbody tr {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    border-radius: 12px;
}

.table-glass tbody tr:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.table-glass td {
    padding: 1rem;
    font-size: 0.95rem;
    color: #334155;
    vertical-align: middle;
}

.table-glass td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.table-glass td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Pricing Plan Tabs - Modern */
.plan-tabs-modern {
    display: flex;
    gap: 1rem;
    background: rgba(241, 245, 249, 0.5);
    backdrop-filter: blur(8px);
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-tab-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
}

.plan-tab-item:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.5);
}

.plan-tab-item.active {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transform: scale(1.02);
}

/* Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-admin {
    background: #dbeafe;
    color: #1e40af;
}

.badge-user {
    background: #f3e8ff;
    color: #6b21a8;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* Global Input Improvements */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
textarea,
select {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px;
    font-family: inherit;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    background: #fff;
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 128, 105, 0.1);
}

/* Global Image Reset */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Admin Grid Layouts */
.admin-half {
    grid-column: span 6;
}

.admin-full {
    grid-column: span 12;
}

/* Responsive Admin & Layout Utilities */
@media (max-width: 1024px) {
    .admin-half {
        grid-column: span 12;
    }
}

/* Responsive Tables */
.table-glass-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.table-glass {
    width: 100%;
    min-width: 650px;
    /* Force horizontal scroll on mobile */
    border-collapse: separate;
    border-spacing: 0;
}

/* Responsive Grid Utilities (Replacing Inline Styles) */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.grid-3-mixed {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 1rem;
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-3-mixed {
        grid-template-columns: 1fr !important;
        /* Stack vertically on mobile */
        gap: 1rem;
    }
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e2e8f0;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}