@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Apply this class to the body to activate the premium background and typography */
body.premium-theme {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    background-attachment: fixed;
    margin: 0;
    color: #334e68;
    min-height: 100vh;
}

/* Glassmorphism panel for wrapping content blocks */
.glass-panel {
    border: none;
    border-radius: 16px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(16, 42, 67, 0.12); /* Stronger, cool-toned shadow for contrast */
    transition: all 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 50px rgba(16, 42, 67, 0.18); /* Stronger hover shadow */
}

/* Primary premium button/link */
.btn-premium {
    background: linear-gradient(135deg, #2680eb 0%, #115ea3 100%);
    color: white !important;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(38, 128, 235, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 128, 235, 0.6);
}

/* Secondary outline button/link */
.btn-premium-outline {
    background: #fff;
    color: #334e68 !important;
    border: 2px solid #bcccdc;
    padding: 8px 24px; /* Slightly less padding to account for border */
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-premium-outline:hover {
    background: #f0f4f8;
    border-color: #9fb3c8;
    transform: translateY(-2px);
}

/* Micro-animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Icon Animation */
@keyframes floatIcon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}

.floating-icon {
    animation: floatIcon 3s ease-in-out infinite;
    display: inline-block;
}

/* Button Pulse Animation */
@keyframes pulseButton {
    0% { box-shadow: 0 0 0 0 rgba(38, 128, 235, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(38, 128, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(38, 128, 235, 0); }
}

.pulse-effect {
    animation: pulseButton 2.5s infinite;
}

/* Language Switcher */
.lang-switcher-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #bcccdc;
    border-radius: 8px;
    padding: 0 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.lang-switcher-wrapper:hover {
    border-color: #2680eb;
    box-shadow: 0 4px 15px rgba(38, 128, 235, 0.15);
    transform: translateY(-1px);
}

.lang-switcher-wrapper .lang-icon,
.lang-switcher-wrapper .lang-chevron {
    color: #627d98;
    pointer-events: none;
}

.lang-switcher-wrapper .lang-icon {
    font-size: 14px;
}

.lang-switcher-wrapper .lang-chevron {
    font-size: 10px;
}

.lang-switcher-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: #102a43;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    position: relative;
    z-index: 2;
}

.lang-switcher-select option {
    color: #102a43;
    background: #fff;
}

/* ---------------------------------------------------
   Premium Page Header Upgrade
----------------------------------------------------- */

/* 1. Strip out the old JPEG background */
body.premium-theme .page-header:before {
    background-image: none !important;
    background: transparent !important;
}

/* 2. Apply a sleek dark glassmorphism effect to the header block */
body.premium-theme .page-header .page-block {
    background: rgba(16, 42, 67, 0.85) !important; /* Deep navy/charcoal glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 0;
    padding: 20px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle bright edge */
    margin-bottom: 20px;
    transition: all 0.3s ease;
    color: #f0f4f8 !important; /* Make text light */
}

/* Force inner text elements to be white/light */
body.premium-theme .page-header .page-block .page-header-title h5,
body.premium-theme .page-header .page-block .page-header-title p {
    color: #ffffff !important;
}

/* Make breadcrumb links look premium and visible on dark background */
body.premium-theme .page-header .page-block .breadcrumb-title a,
body.premium-theme .page-header .page-block .breadcrumb-title .breadcrumb-item {
    color: #bcccdc;
    font-weight: 500;
}

body.premium-theme .page-header .page-block .breadcrumb-title a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ---------------------------------------------------
   Premium Stat Cards (Floating Jewel Style)
----------------------------------------------------- */

a.premium-stat-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

a.premium-stat-card:hover {
    transform: translateY(-8px);
}

a.premium-stat-card.hover-glow-purple:hover { box-shadow: 0 15px 35px rgba(142, 45, 226, 0.2); border-color: rgba(142, 45, 226, 0.3); }
a.premium-stat-card.hover-glow-green:hover { box-shadow: 0 15px 35px rgba(17, 153, 142, 0.2); border-color: rgba(17, 153, 142, 0.3); }
a.premium-stat-card.hover-glow-red:hover { box-shadow: 0 15px 35px rgba(255, 65, 108, 0.2); border-color: rgba(255, 65, 108, 0.3); }
a.premium-stat-card.hover-glow-blue:hover { box-shadow: 0 15px 35px rgba(33, 147, 176, 0.2); border-color: rgba(33, 147, 176, 0.3); }
a.premium-stat-card.hover-glow-yellow:hover { box-shadow: 0 15px 35px rgba(242, 153, 74, 0.2); border-color: rgba(242, 153, 74, 0.3); }

.jewel-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

a.premium-stat-card:hover .jewel-icon {
    transform: scale(1.1) rotate(5deg);
}

.jewel-purple {
    background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
    box-shadow: 0 8px 20px rgba(142, 45, 226, 0.3);
}

.jewel-green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 8px 20px rgba(17, 153, 142, 0.3);
}

.jewel-red {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    box-shadow: 0 8px 20px rgba(255, 65, 108, 0.3);
}

.jewel-blue {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    box-shadow: 0 8px 20px rgba(33, 147, 176, 0.3);
}

.jewel-yellow {
    background: linear-gradient(135deg, #F2994A 0%, #F2C94C 100%);
    box-shadow: 0 8px 20px rgba(242, 153, 74, 0.3);
}

.premium-arrow {
    transition: transform 0.3s ease;
}

a.premium-stat-card:hover .premium-arrow {
    transform: translateX(5px);
}

/* Navbar specific sizing for language switcher */
.navbar .lang-switcher-wrapper {
    padding: 0 8px;
    height: 32px;
    border-radius: 6px;
    margin-top: 0;
}

.navbar .lang-switcher-select {
    padding: 0 4px;
    font-size: 13px;
    height: auto;
}

.navbar .lang-switcher-wrapper .lang-icon {
    font-size: 13px;
}

.navbar .lang-switcher-wrapper .lang-chevron {
    font-size: 9px;
}



/* Sidebar Header Premium Override */
.main-menu .main-menu-header {
    background-image: none !important;
    background-color: #102a43 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-menu .main-menu-header:before {
    display: none !important;
}

/* Sidebar Active Item Premium Override */
.pcoded .pcoded-navbar[active-item-theme="theme1"] .pcoded-item > li.active > a {
    background: #102a43 !important;
}

