.bg-grid { background-image: linear-gradient(rgba(59,130,246,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(59,130,246,.07) 1px,transparent 1px); background-size: 40px 40px; }
.glass { background: rgba(255,255,255,0.7); backdrop-filter: blur(14px); border: 1px solid rgba(0,0,0,0.05); }
.dark .glass { background: rgba(255,255,255,0.06); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.12); }
.glass-light { background: rgba(255,255,255,0.85); backdrop-filter: blur(20px); border: 1px solid rgba(59,130,246,0.15); }
.glow { box-shadow: 0 0 40px rgba(59,130,246,0.3); }
.input-field { transition: all 0.3s ease; }
.input-field:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.btn-primary { background: linear-gradient(135deg, #3b82f6, #2563eb); transition: all 0.3s ease; }
.btn-primary:hover { background: linear-gradient(135deg, #2563eb, #1d4ed8); transform: translateY(-1px); box-shadow: 0 10px 25px rgba(37,99,235,0.4); }
.orb { border-radius: 50%; filter: blur(80px); position: absolute; }
.feature-card { transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-4px); }

/* Dashboard and Sidebar layout classes */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 10px; }
.glass-card { background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); transition: all .3s ease; }
.dark .glass-card { background: rgba(255,255,255,.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.09); transition: all .3s ease; }
.glass-card:hover { background: rgba(255,255,255,1); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.dark .glass-card:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.glass-card-static { background: rgba(255,255,255,.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.09); }
.sidebar-link { transition: all .2s ease; border-left: 3px solid transparent; }
.sidebar-link.active { background: linear-gradient(135deg,rgba(59,130,246,.18),rgba(37,99,235,.08)); border-left: 3px solid #3b82f6; color: #fff !important; }
.sidebar-link:hover:not(.active) { background: rgba(255,255,255,.06); }
.badge-running { background: rgba(34,197,94,.15); color: #22c55e; border: 1px solid rgba(34,197,94,.3); }
.badge-stopped { background: rgba(239,68,68,.15); color: #ef4444; border: 1px solid rgba(239,68,68,.3); }
.badge-pending { background: rgba(234,179,8,.15); color: #eab308; border: 1px solid rgba(234,179,8,.3); }
.badge-info { background: rgba(59,130,246,.15); color: #60a5fa; border: 1px solid rgba(59,130,246,.3); }
.progress-bar { height: 5px; background: rgba(255,255,255,.1); border-radius: 9px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 9px; transition: width 1.2s ease; }
.tab-btn { transition: all .2s; border-bottom: 2px solid transparent; padding-bottom: 8px; }
.tab-btn.active { color: #60a5fa; border-bottom-color: #3b82f6; }
.modal-backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-slideup { animation: slideUp .4s ease-out; }

/* Startup loading screen styles */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #0b0f19 0%, #030712 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    z-index: 9999;
    overflow: hidden;
}

.glow-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulseGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.loader-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.ring-outer {
    width: 100%;
    height: 100%;
    border-top-color: #3b82f6;
    border-bottom-color: #06b6d4;
    animation: spinClockwise 2s linear infinite;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.ring-inner {
    width: 80%;
    height: 80%;
    border-left-color: #8b5cf6;
    border-right-color: #d946ef;
    animation: spinCounterClockwise 1.5s linear infinite;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}

.logo-center {
    position: absolute;
    z-index: 10;
    animation: floatLogo 3s ease-in-out infinite alternate;
}

@keyframes spinClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes floatLogo {
    0% { transform: translateY(-3px) scale(0.95); }
    100% { transform: translateY(3px) scale(1.05); }
}

.loading-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.loading-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 32px;
    animation: pulseText 1.5s ease-in-out infinite alternate;
}

@keyframes pulseText {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.progress-container {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.progress-bar-loading {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    border-radius: 10px;
    animation: indeterminateProgress 2s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.7);
}

@keyframes indeterminateProgress {
    0% { left: -40%; }
    50% { left: 100%; width: 50%; }
    100% { left: 100%; width: 20%; }
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    height: 1px;
    width: 100%;
}
.line-1 { top: 25%; animation: scanLine 8s linear infinite; }
.line-2 { top: 75%; animation: scanLine 12s linear infinite reverse; }

@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
