﻿html, body {
    margin: 0;
    padding: 0;
}

.jgs-loading-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #e2e8f0 0%, #f8fafc 45%, #f8fafc 100%);
    padding: 24px;
    box-sizing: border-box;
}

.jgs-loading-card {
    width: 100%;
    max-width: 360px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.jgs-loading-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a, #334155);
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}

.jgs-loading-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.jgs-loading-subtitle {
    margin: 8px 0 20px;
    font-size: 14px;
    color: #64748b;
}

.jgs-loading-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 20px;
    border: 4px solid #e2e8f0;
    border-top-color: #0f172a;
    border-radius: 9999px;
    animation: jgs-spin 0.9s linear infinite;
}

.jgs-loading-bar {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.jgs-loading-bar-fill {
    width: 40%;
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #0f172a, #475569);
    animation: jgs-loading-slide 1.4s ease-in-out infinite;
}

@keyframes jgs-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes jgs-loading-slide {
    0% {
        transform: translateX(-120%);
    }

    50% {
        transform: translateX(130%);
    }

    100% {
        transform: translateX(130%);
    }
}
