/* ESH SVG logo (Luxe Dark) + legacy solar markup */
.esh-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    line-height: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.esh-logo-link:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}
.esh-logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}
.esh-logo-sm .esh-logo-img { height: 34px; }
.esh-logo-md .esh-logo-img { height: 48px; }
.esh-logo-lg .esh-logo-img { height: 92px; }

.esh-dashboard-logo img {
    height: 92px !important;
    width: auto !important;
    margin-left: 0;
    margin-top: -5px; /* Perfect vertical balance for 72px header */
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

/* 
 * ESH Premium CSS Logo - Solar Flare Edition
 * Designed to match EliteSpotHub project theme
 * Theme Classes:
 *   - .light: For dark backgrounds (white text)
 *   - .icon-only: For just the graphic (no text)
 */

.esh-logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.esh-logo-wrapper:hover {
    transform: translateY(-2px);
}

/* The Solar Flare Icon */
.esh-solar-icon {
    width: 38px;
    height: 38px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.esh-solar-glow {
    position: absolute;
    inset: -4px;
    background: radial-gradient(circle, #6366f1 0%, #2563eb 60%, transparent 80%);
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0.5;
    animation: esh-pulse 2s infinite alternate ease-in-out;
}

.esh-solar-core {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px #fff, 0 0 20px #6366f1;
}

.esh-solar-dash {
    position: absolute;
    inset: -8px;
    border: 1.5px dashed rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    animation: esh-rotate 8s infinite linear;
}

/* Logo Text Styling */
.esh-logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    color: #1e293b; /* Default dark text for light backgrounds */
    line-height: 1;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.esh-logo-text .highlight {
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Google Style Colors */
.esh-logo-text .g-blue { color: #4285F4 !important; -webkit-text-fill-color: initial !important; }
.esh-logo-text .g-red { color: #EA4335 !important; -webkit-text-fill-color: initial !important; }
.esh-logo-text .g-yellow { color: #FBBC05 !important; -webkit-text-fill-color: initial !important; }
.esh-logo-text .g-green { color: #34A853 !important; -webkit-text-fill-color: initial !important; }

/* Theme Variants */
.esh-logo-wrapper.light .esh-logo-text {
    color: #ffffff;
}

/* Icon Only Mode */
.esh-logo-wrapper.icon-only .esh-logo-text {
    display: none;
}

/* Size Variants */
.esh-logo-wrapper.lg .esh-solar-icon { width: 60px; height: 60px; }
.esh-logo-wrapper.lg .esh-solar-core { width: 24px; height: 24px; }
.esh-logo-wrapper.lg .esh-logo-text { font-size: 2.5rem; }

.esh-logo-wrapper.sm .esh-solar-icon { width: 24px; height: 24px; }
.esh-logo-wrapper.sm .esh-solar-core { width: 10px; height: 10px; }
.esh-logo-wrapper.sm .esh-solar-dash { inset: -4px; }
.esh-logo-wrapper.sm .esh-logo-text { font-size: 1.1rem; }

/* Animations */
@keyframes esh-pulse {
    from { transform: scale(1); opacity: 0.4; }
    to { transform: scale(1.1); opacity: 0.7; }
}

@keyframes esh-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════
   ESH Premium Animated "Stellar Logo"
   ═══════════════════════════════════════════ */

.stellar-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    vertical-align: middle;
}

.stellar-logo:hover {
    transform: translateY(-2px);
}

.stellar-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stellar-orb {
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
    border-radius: 50%;
    z-index: 2;
    transition: box-shadow 0.3s ease;
}

.stellar-ring-1 {
    position: absolute;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-top-color: #38bdf8; /* Vibrant Sky Cyan */
    border-radius: 50%;
    animation: stellar-rotate 3s infinite linear;
}

.stellar-ring-2 {
    position: absolute;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-bottom-color: #f472b6; /* Vibrant Rose Pink */
    border-radius: 50%;
    animation: stellar-rotate-rev 2s infinite linear;
}

.stellar-text {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(120deg, #ffffff 30%, #38bdf8 45%, #ffffff 60%, #f472b6 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.45));
    line-height: 1;
    white-space: nowrap;
    animation: text-shimmer 6s infinite linear;
    transition: all 0.3s ease;
}

/* Light Mode Overrides for Logo Text & Rings */
html.light .stellar-text,
body.light-theme .stellar-text,
.light .stellar-text,
.stellar-logo-light .stellar-text {
    background: linear-gradient(120deg, #0f172a 30%, #4f46e5 45%, #0f172a 60%, #06b6d4 80%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 4px rgba(79, 70, 229, 0.15)) !important;
    animation: text-shimmer 6s infinite linear !important;
}

html.light .stellar-ring-1,
body.light-theme .stellar-ring-1,
.light .stellar-ring-1,
.stellar-logo-light .stellar-ring-1 {
    border-color: rgba(15, 23, 42, 0.15) !important;
    border-top-color: #4f46e5 !important;
}
html.light .stellar-ring-2,
body.light-theme .stellar-ring-2,
.light .stellar-ring-2,
.stellar-logo-light .stellar-ring-2 {
    border-color: rgba(15, 23, 42, 0.15) !important;
    border-bottom-color: #db2777 !important;
}
html.light .stellar-orb,
body.light-theme .stellar-orb,
.light .stellar-orb,
.stellar-logo-light .stellar-orb {
    background: linear-gradient(135deg, #ffffff 0%, #4f46e5 100%) !important;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.25) !important;
}

/* Size Configurations */

/* SMALL SIZE (sm) */
.esh-logo-sm .stellar-icon {
    width: 26px;
    height: 26px;
}
.esh-logo-sm .stellar-orb {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8), 0 0 2px rgba(255, 255, 255, 0.5);
}
.esh-logo-sm .stellar-ring-1 {
    width: 100%;
    height: 100%;
    border-width: 1.2px;
}
.esh-logo-sm .stellar-ring-2 {
    width: 80%;
    height: 80%;
    border-width: 1.2px;
}
.esh-logo-sm .stellar-text {
    font-size: 15px;
}

/* MEDIUM SIZE (md) */
.esh-logo-md .stellar-icon {
    width: 36px;
    height: 36px;
}
.esh-logo-md .stellar-orb {
    width: 14px;
    height: 14px;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.85), 0 0 4px rgba(255, 255, 255, 0.5);
}
.esh-logo-md .stellar-ring-1 {
    width: 100%;
    height: 100%;
    border-width: 1.6px;
}
.esh-logo-md .stellar-ring-2 {
    width: 80%;
    height: 80%;
    border-width: 1.6px;
}
.esh-logo-md .stellar-text {
    font-size: 20px;
}

/* LARGE SIZE (lg) */
.esh-logo-lg .stellar-icon {
    width: 58px;
    height: 58px;
}
.esh-logo-lg .stellar-orb {
    width: 24px;
    height: 24px;
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.95), 0 0 6px rgba(255, 255, 255, 0.6);
}
.esh-logo-lg .stellar-ring-1 {
    width: 100%;
    height: 100%;
    border-width: 2px;
}
.esh-logo-lg .stellar-ring-2 {
    width: 80%;
    height: 80%;
    border-width: 2px;
}
.esh-logo-lg .stellar-text {
    font-size: 34px;
}

/* Animations Keyframes */
@keyframes stellar-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes stellar-rotate-rev {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes text-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ==========================================================================
   FORCE HIGH-CONTRAST GLOWING LIGHT MODE IN DARK CONTAINERS (Loader & Headers)
   Prevents parent .light or html.light classes from overriding dark/black text.
   ========================================================================== */

/* 1. Force Glistening White-Cyan-Pink Shimmer Text */
#global-loader .stellar-text,
#premium-loader .stellar-text,
header .stellar-text,
.esh-dashboard-logo .stellar-text,
.stellar-logo-dark-container .stellar-text,
html.light #global-loader .stellar-text,
html.light #premium-loader .stellar-text,
html.light header .stellar-text,
html.light .esh-dashboard-logo .stellar-text,
html.light .stellar-logo-dark-container .stellar-text,
.light #global-loader .stellar-text,
.light #premium-loader .stellar-text,
.light header .stellar-text,
.light .esh-dashboard-logo .stellar-text,
.light .stellar-logo-dark-container .stellar-text,
body.light-theme #global-loader .stellar-text,
body.light-theme #premium-loader .stellar-text,
body.light-theme header .stellar-text,
body.light-theme .esh-dashboard-logo .stellar-text,
body.light-theme .stellar-logo-dark-container .stellar-text {
    background: linear-gradient(120deg, #ffffff 30%, #38bdf8 45%, #ffffff 60%, #f472b6 80%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.45)) !important;
    animation: text-shimmer 6s infinite linear !important;
}

/* 2. Force Bright Neon Rings (Cyan & Pink) */
#global-loader .stellar-ring-1,
#premium-loader .stellar-ring-1,
header .stellar-ring-1,
.esh-dashboard-logo .stellar-ring-1,
.stellar-logo-dark-container .stellar-ring-1,
html.light #global-loader .stellar-ring-1,
html.light #premium-loader .stellar-ring-1,
html.light header .stellar-ring-1,
html.light .esh-dashboard-logo .stellar-ring-1,
html.light .stellar-logo-dark-container .stellar-ring-1,
.light #global-loader .stellar-ring-1,
.light #premium-loader .stellar-ring-1,
.light header .stellar-ring-1,
.light .esh-dashboard-logo .stellar-ring-1,
.light .stellar-logo-dark-container .stellar-ring-1,
body.light-theme #global-loader .stellar-ring-1,
body.light-theme #premium-loader .stellar-ring-1,
body.light-theme header .stellar-ring-1,
body.light-theme .esh-dashboard-logo .stellar-ring-1,
body.light-theme .stellar-logo-dark-container .stellar-ring-1 {
    border-color: rgba(255, 255, 255, 0.25) !important;
    border-top-color: #38bdf8 !important;
}
#global-loader .stellar-ring-2,
#premium-loader .stellar-ring-2,
header .stellar-ring-2,
.esh-dashboard-logo .stellar-ring-2,
.stellar-logo-dark-container .stellar-ring-2,
html.light #global-loader .stellar-ring-2,
html.light #premium-loader .stellar-ring-2,
html.light header .stellar-ring-2,
html.light .esh-dashboard-logo .stellar-ring-2,
html.light .stellar-logo-dark-container .stellar-ring-2,
.light #global-loader .stellar-ring-2,
.light #premium-loader .stellar-ring-2,
.light header .stellar-ring-2,
.light .esh-dashboard-logo .stellar-ring-2,
.light .stellar-logo-dark-container .stellar-ring-2,
body.light-theme #global-loader .stellar-ring-2,
body.light-theme #premium-loader .stellar-ring-2,
body.light-theme header .stellar-ring-2,
body.light-theme .esh-dashboard-logo .stellar-ring-2,
body.light-theme .stellar-logo-dark-container .stellar-ring-2 {
    border-color: rgba(255, 255, 255, 0.25) !important;
    border-bottom-color: #f472b6 !important;
}

/* 3. Force Silver-Sapphire Orb & Cyan Core Glow */
#global-loader .stellar-orb,
#premium-loader .stellar-orb,
header .stellar-orb,
.esh-dashboard-logo .stellar-orb,
.stellar-logo-dark-container .stellar-orb,
html.light #global-loader .stellar-orb,
html.light #premium-loader .stellar-orb,
html.light header .stellar-orb,
html.light .esh-dashboard-logo .stellar-orb,
html.light .stellar-logo-dark-container .stellar-orb,
.light #global-loader .stellar-orb,
.light #premium-loader .stellar-orb,
.light header .stellar-orb,
.light .esh-dashboard-logo .stellar-orb,
.light .stellar-logo-dark-container .stellar-orb,
body.light-theme #global-loader .stellar-orb,
body.light-theme #premium-loader .stellar-orb,
body.light-theme header .stellar-orb,
body.light-theme .esh-dashboard-logo .stellar-orb,
body.light-theme .stellar-logo-dark-container .stellar-orb {
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%) !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.85), 0 0 4px rgba(255, 255, 255, 0.5) !important;
}

/* ==========================================================================
   EXPLICIT LIGHT BACKGROUND OVERRIDES (For White Headers/Navbars)
   If a logo has the .stellar-logo-light class, it must ALWAYS have dark high-contrast
   typography and colorful rings, regardless of parent container tags (like header).
   ========================================================================== */
.stellar-logo-light .stellar-text,
.stellar-logo-light.stellar-logo .stellar-text {
    background: linear-gradient(120deg, #0f172a 30%, #4f46e5 45%, #0f172a 60%, #06b6d4 80%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 4px rgba(79, 70, 229, 0.15)) !important;
    animation: text-shimmer 6s infinite linear !important;
}

.stellar-logo-light .stellar-ring-1,
.stellar-logo-light.stellar-logo .stellar-ring-1 {
    border-color: rgba(15, 23, 42, 0.15) !important;
    border-top-color: #4f46e5 !important;
}
.stellar-logo-light .stellar-ring-2,
.stellar-logo-light.stellar-logo .stellar-ring-2 {
    border-color: rgba(15, 23, 42, 0.15) !important;
    border-bottom-color: #db2777 !important;
}
.stellar-logo-light .stellar-orb,
.stellar-logo-light.stellar-logo .stellar-orb {
    background: linear-gradient(135deg, #ffffff 0%, #4f46e5 100%) !important;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.25) !important;
}

/* ═══════════════════════════════════════════
   Google Fonts FOUT (Flash of Unstyled Text) Layout Protection
   Prevents raw icon text (e.g. "shopping_bag") from breaking design
   while custom webfonts are loading slowly or offline.
   ═══════════════════════════════════════════ */
.material-symbols-outlined,
.material-icons,
[class^="material-symbols-"],
[class^="material-icons-"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 1.15em !important;
    max-height: 1.15em !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    text-align: center !important;
    font-size: inherit; /* Inherits explicit size overrides */
}


