/* ==========================================
   1. CSS VARIABLES (Design System)
   ========================================== */
:root {
    /* Colors */
    --color-primary: #1a365d;
    --color-primary-light: #2d4a7c;
    --color-primary-dark: #0f2744;
    --color-secondary: #c53030;
    --color-secondary-light: #e53e3e;
    --color-secondary-dark: #9b2c2c;
    --color-accent: #ecc94b;
    --color-white: #ffffff;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;
    --color-dark: #1a1a2e;

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Montserrat', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Layout */
    --left-panel-width: 45%;
    --right-panel-width: 55%;
    --container-padding: 2rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   2. RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3 {
    font-weight: 700;
}

body {
    font-family: var(--font-primary);
    background: var(--color-gray-100);
    color: var(--color-gray-800);
    line-height: 1.6;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ==========================================
   3. SPLIT SCREEN LAYOUT
   ========================================== */
.split-layout {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Left Panel - Fixed Hero */
.left-panel {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--left-panel-width);
    height: 100vh;
    overflow: hidden;
    z-index: 10;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    /* Added dark shadow to right */
}

.left-panel-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.left-panel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.left-panel-overlay {
    position: absolute;
    inset: 0;
    background: #000000;
    opacity: 0.4;
}

.left-panel-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--space-2xl);
    color: var(--color-white);
}

/* Logo in Left Panel - Centered & Bigger */
.panel-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.panel-logo img {
    height: 150px;
    width: auto;
}

/* Floating Titles in Left Panel - Alternating Left/Right */
.panel-titles {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
}

.floating-title {
    opacity: 0.9;
    transition: all var(--transition-base);
    max-width: 70%;

    /* Glassmorphism Effect - Lighter transparency */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-xl);
}

/* Alternate positioning: odd = left, even = right */
.floating-title:nth-child(odd) {
    align-self: flex-start;
    text-align: left;
}

.floating-title:nth-child(even) {
    align-self: flex-end;
    text-align: right;
}

.floating-title:hover {
    opacity: 1;
}

.floating-title:nth-child(odd):hover {
    transform: translateX(10px);
}

.floating-title:nth-child(even):hover {
    transform: translateX(-10px);
}

.floating-title h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.floating-title p {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary-light);
    margin-top: var(--space-xs);
}

/* Remove duplicate glass styles from large since base has it now */
.floating-title.large h2 {
    font-size: 3.5rem;
}

.floating-title.accent h2 {
    color: var(--color-accent);
}

/* Panel CTA Buttons */
.panel-cta {
    display: flex;
    gap: var(--space-md);
    margin-top: auto;
}

.panel-cta .btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
}

.panel-cta .btn-primary {
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
}

.panel-cta .btn-primary:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-2px);
}

.panel-cta .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.panel-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-white);
}

/* Right Panel - Scrollable Content with Sticky Footer */
.right-panel {
    margin-left: var(--left-panel-width);
    width: var(--right-panel-width);
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--color-gray-100);
    /* Flex layout to push footer to bottom */
    display: flex;
    flex-direction: column;
}

.right-panel-content {
    padding: var(--space-xl);
    padding-top: calc(70px + var(--space-lg));
    padding-left: 6%;
    -webkit-animation: fadein 2s;
    -webkit-animation: slide .5s forwards;
    -moz-animation: fadein 2s;
    -ms-animation: fadein 2s;
    -o-animation: fadein 2s;
    animation: fadein 2s;
    animation: slide .5s forwards;
    animation-delay: 0s;
    -webkit-animation-delay: .1s;
    animation-delay: .1s;
    /* Allow content to grow and push footer */
    flex: 1 0 auto;
}

/* ==========================================
   3.5. FIXED HEADER MENU FOR RIGHT PANEL
   ========================================== */
.right-panel-header {
    position: fixed;
    top: var(--space-md);
    right: calc(var(--right-panel-width) * 0.025);
    width: calc(var(--right-panel-width) * 0.95);
    height: 50px;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 0 var(--space-lg);
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.menu-right {
    display: flex;
    align-items: center;
}

/* Login button styling */
.menu-link-login {
    background: var(--color-secondary);
    color: var(--color-white) !important;
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg) !important;
}

.menu-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition-base);
}

.menu-link:hover,
.menu-link.active {
    color: var(--color-secondary);
    background: #f5f5f5;
    padding: 25px 40px;
}

.menu-link:hover::after,
.menu-link.active::after {
    width: 80%;
}

.menu-link.highlight {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
}

.menu-link.highlight:hover {
    background: var(--color-secondary-dark);
    color: var(--color-white);
}

.menu-link.highlight::after {
    display: none;
}

/* ==========================================
   3.6. MOBILE MENU
   ========================================== */
/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 200;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.mobile-menu-btn:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger to X animation */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Mobile responsive */
@media (max-width: 2300px) {
    .fold-shadow-right {
        display: none;
    }

    .panel-logo {
        margin-top: -30px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-logo {
        display: block !important;
        margin-bottom: var(--space-md);
        text-align: left;
    }

    .mobile-menu-logo img {
        height: 40px;
        width: auto;
    }

    .mobile-account-link {
        display: block !important;
        margin-top: var(--space-md);
        width: 100%;
    }

    .mobile-account-link .menu-link {
        text-align: center;
        width: 100%;
    }

    .mobile-menu-overlay {
        display: block;
        pointer-events: none;
    }

    .mobile-menu-overlay.active {
        pointer-events: auto;
    }

    .right-panel-header {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        padding-top: 80px;
        transition: right 0.3s ease;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        z-index: 160;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    }

    .right-panel-header.active {
        right: 0;
    }

    .main-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: var(--space-md);
    }

    .menu-left {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .menu-link {
        display: block;
        padding: var(--space-md) var(--space-lg);
        border-bottom: 1px solid var(--color-gray-200);
        text-align: left;
        font-size: 1rem;
    }

    .menu-link:last-child {
        border-bottom: none;
    }

    .menu-link::after {
        display: none;
    }

    .menu-link.highlight {
        margin-top: var(--space-md);
        text-align: center;
        border-radius: var(--radius-md);
    }

    /* Fixed header on mobile/tablet/laptop - Off-canvas */
    .right-panel-header {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        padding: var(--space-md);
        background: var(--color-white);
        transition: right 0.3s ease;
        z-index: 160;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .desktop-only {
        display: none !important;
    }
}



/* ==========================================
   4. SECTION STYLES
   ========================================== */
.section {
    margin-bottom: var(--space-2xl);
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.section-header::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--color-secondary);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    /* Increased from 0.875rem */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gray-600);
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.section-title::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2000%;
    height: 8px;
    margin-left: 15px;
    background: url('../images/pattern.png') repeat-x;
    content: '';
}

/* ==========================================
   5. SERVICES CAROUSEL (4 visible, auto-scroll, loop)
   ========================================== */
.services-carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.services-swiper {
    width: 100%;
    padding: var(--space-sm) 0;
}

.services-swiper .swiper-slide {
    height: auto;
}

.service-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform var(--transition-base);
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

/* Dark placeholder for services without images */
.service-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, #171923 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.service-card-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Service Card Overlay - Title appears over image */
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    z-index: 1;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    z-index: 2;
    color: var(--color-white);
}

.service-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--color-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ==========================================
   6. TRENDS SECTION (Featured + Side Cards)
   ========================================== */
.trends-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: stretch;
    min-height: 500px;
}

/* Featured Card - Large - Full Height Image */
.featured-card {
    display: block;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 500px;
    text-decoration: none;
    max-height: 500px;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Featured Card Overlay - Title appears over image */
.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
    z-index: 1;
}

.featured-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    z-index: 2;
    color: var(--color-white);
}

.featured-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.featured-card-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: var(--space-sm);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Side Cards Stack - Match Featured Card Height */
.side-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    height: 100%;
    min-height: 500px;
}

.side-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    flex: 1;
    max-height: calc(25% - var(--space-md));
    text-decoration: none;
    color: inherit;
}

.side-card-image {
    width: 100px;
    height: 100%;
    min-height: 80px;
    max-height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.side-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xs);
}

.side-card-title {
    font-size: 1rem;
    /* Increased size */
    font-weight: 700;
    color: var(--color-gray-800);
    line-height: 1.4;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.side-card-text {
    font-size: 0.85rem;
    color: var(--color-gray-500);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================
   7. EXPERIENCES SECTION
   ========================================== */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.experience-card {
    display: block;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    text-decoration: none;
}

.experience-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.experience-card:hover img {
    transform: scale(1.05);
}

.experience-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.experience-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    color: var(--color-white);
}

.experience-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.experience-card-subtitle {
    font-size: 0.8125rem;
    opacity: 0.8;
}

/* ==========================================
   8. ABOUT SECTION
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image:first-child {
    grid-row: span 2;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.about-content p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   9. TESTIMONIALS CAROUSEL
   ========================================== */
.testimonials-carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.testimonials-swiper {
    width: 100%;
    padding: var(--space-sm) 0;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    width: auto;
}

/* Keep grid for fallback/responsive */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

/* Static grid for 4 or less testimonials - 4 columns on desktop */
.testimonials-static {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .testimonials-static {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-static {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .testimonials-static {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-weight: 600;
    color: var(--color-gray-800);
}

.testimonial-info p {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

.testimonial-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-top: var(--space-md);
}

.testimonial-rating .fa-star {
    font-size: 0.875rem;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

.about-description {
    color: var(--color-gray-600);
    line-height: 1.8;
}

.about-description p {
    margin-bottom: var(--space-md);
}

.subtitle-link {
    color: inherit;
    text-decoration: none;
}

.subtitle-link:hover h2 {
    opacity: 0.8;
}

/* ==========================================
   10. COMPACT FOOTER
   ========================================== */
.compact-footer {
    background: url('../images/redbar.jpg') no-repeat center center;
    background-size: cover;
    color: var(--color-white);
    padding: var(--space-lg) var(--space-xl) 0;
    margin-top: var(--space-xl);
    margin-bottom: 0;
    padding-bottom: 0;
    /* Prevent footer from shrinking in flex container */
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    /* Add some padding inside before bottom 0 */
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-white);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

/* ==========================================
   11. RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1200px) {
    :root {
        --left-panel-width: 40%;
        --right-panel-width: 60%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --left-panel-width: 35%;
        --right-panel-width: 65%;
    }

    .floating-title h2 {
        font-size: 1.75rem;
    }

    .floating-title.large h2 {
        font-size: 2.25rem;
    }

    .trends-layout {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    .split-layout {
        flex-direction: column;
        height: auto;
    }

    .left-panel {
        position: relative;
        width: 100%;
        height: 60vh;
    }

    .right-panel {
        margin-left: 0;
        width: 100%;
        height: auto;
        overflow: visible;
        margin-top: 0;
    }

    .panel-logo img {
        height: 60px;
    }

    .floating-title h2 {
        font-size: 1.5rem;
    }

    .floating-title.large h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experiences-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* Hide fixed header on mobile */
    /* Hide fixed header on mobile */
    /* Handled in 2300px media query now */

    .main-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }

    .menu-link {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .right-panel-content {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* ==========================================
   12. EMBOSS EFFECT FOR RIGHT PANEL IMAGES
   ========================================== */
/* Apply emboss effect to all images in right panel */
.right-panel img {
    filter:
        drop-shadow(1px 1px 0 rgba(255, 255, 255, 0.4)) drop-shadow(-1px -1px 0 rgba(0, 0, 0, 0.15)) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2)) contrast(1.05) brightness(1.02);
    box-shadow:
        inset 2px 2px 4px rgba(255, 255, 255, 0.15),
        inset -2px -2px 4px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1);
    transition: filter var(--transition-base), box-shadow var(--transition-base);
}

/* Enhanced emboss on hover */
.right-panel img:hover {
    filter:
        drop-shadow(2px 2px 0 rgba(255, 255, 255, 0.5)) drop-shadow(-2px -2px 0 rgba(0, 0, 0, 0.2)) drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.25)) contrast(1.08) brightness(1.04);
    box-shadow:
        inset 3px 3px 6px rgba(255, 255, 255, 0.2),
        inset -3px -3px 6px rgba(0, 0, 0, 0.2),
        0 6px 18px rgba(0, 0, 0, 0.25),
        0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Service cards - emboss with specific styling */
.service-card img {
    box-shadow:
        inset 2px 2px 5px rgba(255, 255, 255, 0.2),
        inset -2px -2px 5px rgba(0, 0, 0, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Featured card - stronger emboss */
.featured-card img {
    filter:
        drop-shadow(2px 2px 0 rgba(255, 255, 255, 0.35)) drop-shadow(-2px -2px 0 rgba(0, 0, 0, 0.2)) drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.3)) contrast(1.06) brightness(1.03);
    box-shadow:
        inset 3px 3px 6px rgba(255, 255, 255, 0.15),
        inset -3px -3px 6px rgba(0, 0, 0, 0.2),
        0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Side card images - subtle emboss */
.side-card-image img {
    box-shadow:
        inset 1px 1px 3px rgba(255, 255, 255, 0.2),
        inset -1px -1px 3px rgba(0, 0, 0, 0.15),
        0 3px 10px rgba(0, 0, 0, 0.18);
}

/* Experience cards - medium emboss */
.experience-card img {
    filter:
        drop-shadow(2px 2px 0 rgba(255, 255, 255, 0.3)) drop-shadow(-2px -2px 0 rgba(0, 0, 0, 0.15)) drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.25)) contrast(1.05) brightness(1.02);
}

/* About section images - clean emboss */
.about-image img {
    box-shadow:
        inset 2px 2px 4px rgba(255, 255, 255, 0.15),
        inset -2px -2px 4px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
}

/* ==========================================
   13. UTILITIES
   ========================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-none {
    display: none;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

.mt-auto {
    margin-top: auto;
}

.mb-0 {
    margin-bottom: 0;
}

/* Hide scrollbar but allow scroll */
.right-panel::-webkit-scrollbar {
    width: 6px;
}

.right-panel::-webkit-scrollbar-track {
    background: var(--color-gray-200);
}

.right-panel::-webkit-scrollbar-thumb {
    background: var(--color-gray-400);
    border-radius: 3px;
}

.right-panel::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-500);
}

.fold-shadow-right,
.fold-shadow-left,
.fold-shadow {
    opacity: .3;
}

.fold-shadow-right {
    position: absolute;
    z-index: 2;
    width: 4%;
    height: 100%;
    background: url('../images/fold-shadow-right.png');
    background-size: auto;
    opacity: .3;
    pointer-events: none;
    background-size: contain;
}

/* ==========================================
   12. DETAIL PAGE STYLES
   ========================================== */
.detail-section {
    max-width: 95%;
    width: 95%;
}

.detail-content {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-xl);
}

.detail-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9375rem;
    color: var(--color-gray-600);
}

.meta-item i {
    color: var(--color-secondary);
}

.detail-lead {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-gray-200);
}

.detail-body {
    font-size: 1rem;
    color: var(--color-gray-700);
    line-height: 1.8;
}

.detail-body p {
    margin-bottom: var(--space-md);
}

.detail-body h2,
.detail-body h3,
.detail-body h4 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    color: var(--color-gray-800);
}

.detail-body img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    margin: var(--space-md) 0;
}

.detail-body ul,
.detail-body ol {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.detail-body li {
    margin-bottom: var(--space-xs);
}

/* Gallery */
.detail-gallery {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-200);
}

.detail-gallery h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: var(--color-gray-800);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: transform var(--transition-base);
}

.gallery-item img:hover {
    transform: scale(1.02);
}

/* Related Section */
.related-section {
    margin-top: var(--space-xl);
}

.related-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: var(--space-lg);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.related-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-card-placeholder i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

.related-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--color-white);
}

.related-card-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .detail-title {
        font-size: 1.5rem;
    }

    .detail-content {
        padding: var(--space-lg);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   13. LISTING PAGE STYLES
   ========================================== */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.listing-card {
    display: block;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.listing-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.listing-card:hover .listing-card-image img {
    transform: scale(1.05);
}

.listing-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-card-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.listing-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.listing-card-content {
    padding: var(--space-lg);
}

.listing-card-icon {
    display: inline-block;
    color: var(--color-secondary);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.listing-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin: 0 0 var(--space-sm) 0;
    line-height: 1.3;
}

.listing-card-meta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-sm);
}

.listing-card-text {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Large card variant */
.listing-card-large .listing-card-image {
    aspect-ratio: 16/9;
}

.listing-card-large .listing-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--color-white);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.listing-card-large .listing-card-title,
.listing-card-large .listing-card-meta,
.listing-card-large .listing-card-text {
    color: var(--color-white);
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-xxl);
    color: var(--color-gray-500);
}

/* Destination Card with visible title */
.destination-card .listing-card-image {
    position: relative;
}

.listing-card-image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
}

.listing-card-image-title h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ==========================================
   14. TESTIMONIALS LISTING STYLES
   ========================================== */
.testimonials-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-listing-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.testimonial-listing-card.featured {
    border: 2px solid var(--color-secondary);
}

.testimonial-featured-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.875rem;
}

.testimonial-rating {
    margin-bottom: var(--space-md);
}

.testimonial-rating i {
    font-size: 0.875rem;
}

.testimonial-rating .text-warning {
    color: #f59e0b;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin: 0 0 var(--space-lg) 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar-initial {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-600);
}

.testimonial-author-info strong {
    display: block;
    font-size: 1rem;
    color: var(--color-gray-800);
}

.testimonial-author-info span {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* ==========================================
   15. CONTACT PAGE STYLES
   ========================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
}

.contact-info-card,
.contact-form-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3,
.contact-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 var(--space-lg) 0;
    color: var(--color-gray-800);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-xs);
}

.contact-item a,
.contact-item span {
    color: var(--color-gray-800);
    text-decoration: none;
    font-size: 0.9375rem;
}

.contact-item a:hover {
    color: var(--color-secondary);
}

.contact-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.social-btn {
    width: 40px;
    height: 40px;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-btn:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* Contact Form */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.contact-form .form-group {
    margin-bottom: var(--space-lg);
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: var(--space-sm);
}

.contact-form label .required {
    color: #ef4444;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--color-gray-800);
    background: var(--color-white);
    transition: border-color var(--transition-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #ef4444;
}

.contact-form .error-message {
    display: block;
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: var(--space-xs);
}

.contact-form .alert-success {
    padding: var(--space-md);
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: var(--radius-md);
    color: #166534;
    margin-bottom: var(--space-lg);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-base);
}

.btn-submit:hover {
    background: var(--color-primary);
}

/* About Page Styles */
.about-stats-section {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-200);
}

.about-stats-section h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin-top: var(--space-sm);
}

.about-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.about-img-horizontal {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.about-img-vertical-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-img-vertical {
    width: 100%;
    flex: 1;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .listing-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-listing-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   16. GOOGLE MAPS STYLES
   ========================================== */
.contact-map-section {
    margin-top: var(--space-xl);
}

.contact-map-section h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-gray-800);
    margin-bottom: var(--space-lg);
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ==========================================
   17. LOAD MORE BUTTON STYLES
   ========================================== */
.load-more-section {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xxl);
    background: var(--color-white);
    color: var(--color-gray-700);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-load-more:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-load-more i {
    font-size: 0.875rem;
}

.load-more-count {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-top: var(--space-md);
}

/* Responsive: Testimonials 3 columns to 2 to 1 */
@media (max-width: 1024px) {
    .testimonials-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-listing-grid {
        grid-template-columns: 1fr;
    }
}

.layout-wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.layout-menu {
    width: 260px;
    background-color: #232b3e !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.app-brand {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
}

.app-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-heading-color);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* Dark Sidebar Theme */
.layout-menu,
.layout-menu .menu-inner,
.layout-menu .app-brand {
    background-color: #232b3e !important;
    color: #b7c0cd;
}

.app-brand-text {
    color: #ffffff !important;
}

.app-brand-link {
    color: #ffffff !important;
    text-decoration: none;
}

.menu-inner {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
}

.menu-item {
    margin: 0.25rem 0.75rem;
    border-radius: 0.375rem;
}

.menu-item.active {
    background-color: transparent !important;
}

/* Only apply red background to NON-toggle links (actual page links, not group headers) */
.menu-item.active>.menu-link:not(.menu-toggle) {
    background-color: #FF3366 !important;
    color: #ffffff !important;
    box-shadow: 0 0.25rem 0.5rem rgba(255, 51, 102, 0.4);
}

/* Parent group active state - just keep text white, no red bg */
.menu-item.active>.menu-link.menu-toggle {
    color: #ffffff !important;
    background-color: transparent !important;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    color: var(--sidebar-color);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu-link:hover {
    background-color: rgba(255, 51, 102, 0.8) !important;
    color: #ffffff !important;
}

/* Don't apply red hover to parent toggles */
.menu-link.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.menu-icon {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    width: 1.5rem;
    text-align: center;
}

/* Submenu icon styles */
.menu-sub-icon {
    font-size: 0.75rem;
    margin-right: 0.75rem;
    width: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* Page Content */
.layout-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: var(--bs-body-bg);
}

/* Navbar */
.layout-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 0.375rem 0.25rem rgba(161, 172, 184, 0.15);
    height: 64px;
    /* Fixed height for simplicity */
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    margin: 0.75rem 1.5rem 0;
    /* Unattached/Floating style */
    border-radius: 0.375rem;
    z-index: 10;
}

.navbar-nav {
    flex-direction: row;
    align-items: center;
    width: 100%;
}

/* Content Wrapper - Enhanced Spacing */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 2rem;
    background-color: var(--bs-body-bg);
    min-height: 100vh;
}

/* Page Header - Title Area */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header .page-title {
    font-size: 1.625rem;
    font-weight: 600;
    color: #5D596C;
    margin-bottom: 0.25rem;
}

.page-header .page-subtitle {
    color: #a5a3ae;
    font-size: 0.9375rem;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
}

.page-header .breadcrumb-item a {
    color: var(--bs-primary);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: #a5a3ae;
}

/* Section Spacing */
.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #5D596C;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.section-subtitle {
    color: #a5a3ae;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

/* Content Container */
.content-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Row Spacing Enhancement */
.row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* Cards - White Background with Dashed Border */
.card {
    background-color: #ffffff;
    box-shadow: none;
    border: 1px dashed #d9dee3;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s ease;
}

.card:hover {
    border-color: #b7c0cd;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid #f0f0f0;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-header h5,
.card-header h6 {
    margin-bottom: 0;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid #f0f0f0;
    padding: 1rem 1.5rem;
}

/* Card with no margin bottom */
.card.mb-0 {
    margin-bottom: 0 !important;
}

/* Compact Card Variant */
.card-compact .card-body {
    padding: 1rem 1.25rem;
}

.card-compact .card-header {
    padding: 0.875rem 1.25rem;
}

/* Card Hover Effect */
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(161, 172, 184, 0.4);
}

/* Spacing Utilities - Enhanced */
.mb-section {
    margin-bottom: 2rem !important;
}

.mt-section {
    margin-top: 2rem !important;
}

.py-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.px-card {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.py-card {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Background Variants */
.bg-body {
    background-color: var(--bs-body-bg) !important;
}

.bg-card {
    background-color: var(--bs-card-bg) !important;
}

.bg-light-primary {
    background-color: rgba(255, 51, 102, 0.08) !important;
}

.bg-light-success {
    background-color: rgba(40, 199, 111, 0.08) !important;
}

.bg-light-warning {
    background-color: rgba(255, 159, 67, 0.08) !important;
}

.bg-light-danger {
    background-color: rgba(234, 84, 85, 0.08) !important;
}

.bg-light-info {
    background-color: rgba(0, 207, 232, 0.08) !important;
}

/* Divider */
.divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 1.5rem 0;
}

.divider-dashed {
    border-top: 1px dashed #d9dee3;
    margin: 1.5rem 0;
}

/* Separator with text */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #a5a3ae;
    font-size: 0.8125rem;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.separator:not(:empty)::before {
    margin-right: 1rem;
}

.separator:not(:empty)::after {
    margin-left: 1rem;
}

/* Stats Card Icon Circle */
.stats-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Stats Card */
.stats-card {
    border: 1px dashed #d2d2d2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* AdminX Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 2px 4px 0 rgba(255, 51, 102, 0.4);
    color: #fff;
    font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e62e5c;
    /* Darker Pink */
    border-color: #e62e5c;
    box-shadow: 0 4px 8px 0 rgba(255, 51, 102, 0.5);
    transform: translateY(-1px);
}

/* Utility */
.text-primary {
    color: var(--bs-primary) !important;
}

.bg-menu-theme {
    background-color: var(--bs-card-bg) !important;
}

.footer {
    padding: 1rem 1.5rem;
    background: transparent;
}

/* Responsive helper for sidebar toggle (simplified) */
@media (max-width: 991.98px) {
    .layout-menu {
        position: absolute;
        height: 100%;
        transform: translateX(-100%);
    }

    .layout-menu.active {
        transform: translateX(0);
    }
}

/* Hide Bootstrap Dropdown Arrow */
.dropdown-toggle.hide-arrow::after {
    display: none !important;
}

/* Sidebar Submenu Styles */
.menu-sub {
    display: none;
    list-style: none;
    padding-left: 1.5rem;
    margin: 0;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.375rem;
}

.menu-item.open>.menu-sub {
    display: block;
}

.menu-toggle {
    cursor: pointer;
    justify-content: space-between !important;
}

.menu-toggle::after {
    content: '\f107';
    font-family: "FontAwesome";
    margin-left: auto;
    transition: transform 0.3s;
}

.menu-item.open>.menu-toggle::after {
    transform: rotate(180deg);
}

/* ==================================================
           ENHANCED COMPONENT STYLES - Based on Design Models
           ================================================== */

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28C76F 0%, #48da89 100%) !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #EA5455 0%, #f77677 100%) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #FF9F43 0%, #ffb976 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #00CFE8 0%, #33dcf0 100%) !important;
}

/* Enhanced Statistics Cards */
.stats-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(75, 70, 92, 0.15);
}

.stats-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.75rem;
}

/* Enhanced Buttons */
.btn {
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653b8c 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(115, 103, 240, 0.3);
}

.btn-gradient-success {
    background: linear-gradient(135deg, #28C76F 0%, #48da89 100%);
    border: none;
    color: white;
}

.btn-gradient-success:hover {
    background: linear-gradient(135deg, #20a55a 0%, #36b472 100%);
    color: white;
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.35rem 0.65rem;
}

.badge-pill {
    border-radius: 10rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

/* Enhanced Alerts */
.alert {
    border-left: 4px solid;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.alert-success {
    background-color: #d4edda;
    border-left-color: #28C76F;
    color: #1e7e34;
}

.alert-info {
    background-color: #d1ecf1;
    border-left-color: #00CFE8;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-left-color: #FF9F43;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border-left-color: #EA5455;
    color: #721c24;
}

/* Timeline Component */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bs-border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bs-primary);
    background: white;
    z-index: 1;
}

.timeline-dot.success {
    border-color: var(--bs-success);
}

.timeline-dot.danger {
    border-color: var(--bs-danger);
}

.timeline-dot.warning {
    border-color: var(--bs-warning);
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--bs-primary);
    background: rgba(115, 103, 240, 0.05);
}

.file-upload-area i {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

/* Ribbons */
.ribbon {
    position: absolute;
    top: 15px;
    right: -5px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--bs-primary);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.15);
}

.ribbon::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid rgba(115, 103, 240, 0.7);
    border-top: 5px solid rgba(115, 103, 240, 0.7);
}

.ribbon.success {
    background: var(--bs-success);
}

.ribbon.success::after {
    border-right-color: rgba(40, 199, 111, 0.7);
    border-top-color: rgba(40, 199, 111, 0.7);
}

.ribbon.danger {
    background: var(--bs-danger);
}

.ribbon.danger::after {
    border-right-color: rgba(234, 84, 85, 0.7);
    border-top-color: rgba(234, 84, 85, 0.7);
}

/* Corner Ribbon */
.ribbon-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 0;
    border-color: transparent var(--bs-primary) transparent transparent;
}

.ribbon-corner span {
    position: absolute;
    top: 15px;
    right: -65px;
    transform: rotate(45deg);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Enhanced Card Variants */
.card-gradient {
    background: linear-gradient(135deg, rgba(115, 103, 240, 0.1) 0%, rgba(115, 103, 240, 0.05) 100%);
    border: 1px solid rgba(115, 103, 240, 0.2);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Input Groups with Icons */
.input-group-icon {
    position: relative;
}

.input-group-icon .form-control {
    padding-left: 2.5rem;
}

.input-group-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary);
    z-index: 4;
}

/* Loading Spinner Overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Progress Bars */
.progress {
    height: 0.75rem;
    border-radius: 0.5rem;
}

.progress-bar {
    border-radius: 0.5rem;
}

/* Tabs Enhancement */
.nav-tabs {
    border-bottom: 2px solid var(--bs-border-color);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--bs-body-color);
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--bs-primary);
    border-bottom: 2px solid var(--bs-primary);
}

.nav-tabs .nav-link.active {
    color: var(--bs-primary);
    background: transparent;
    border-bottom: 2px solid var(--bs-primary);
    font-weight: 600;
}

/* Pills Tabs */
.nav-pills .nav-link {
    border-radius: 0.375rem;
    padding: 0.625rem 1rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: var(--bs-primary);
}

/* Table Enhancements */
.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--bs-heading-color);
    border-bottom: 2px solid var(--bs-border-color);
}

.table-hover tbody tr:hover {
    background-color: rgba(115, 103, 240, 0.05);
}

/* User Avatar */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar-lg {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.avatar-sm {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
}

/* Background Label Colors */
.bg-label-primary {
    background-color: rgba(115, 103, 240, 0.12) !important;
}

.bg-label-success {
    background-color: rgba(40, 199, 111, 0.12) !important;
}

.bg-label-danger {
    background-color: rgba(234, 84, 85, 0.12) !important;
}

.bg-label-warning {
    background-color: rgba(255, 159, 67, 0.12) !important;
}

.bg-label-info {
    background-color: rgba(0, 207, 232, 0.12) !important;
}

.bg-label-secondary {
    background-color: rgba(133, 146, 163, 0.12) !important;
}

/* Flatpickr Custom Styling */
.flatpickr-calendar {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: 1px solid var(--bs-border-color);
}

.flatpickr-day.selected {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.flatpickr-day.selected:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Responsive Utilities */
@media (max-width: 767.98px) {
    .stats-card {
        margin-bottom: 1rem;
    }

    .content-wrapper {
        padding: 1rem;
    }
}

/* ==================================================
           ADMINX FORM ELEMENTS - Based on Design Models
           ================================================== */

/* Base Form Control Styling */
.form-control,
.form-select {
    border: 1px solid #d9dee3;
    border-radius: 0.375rem;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 51, 102, 0.15);
    background-color: #fff;
}

.form-control::placeholder {
    color: #a5a3ae;
}

.form-control:disabled,
.form-select:disabled {
    background-color: #f8f9fa;
    opacity: 0.65;
}

/* Form Labels */
.form-label {
    font-weight: 500;
    color: #5D596C;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}

/* Input with Icon (Left) */
.input-icon-left {
    position: relative;
}

.input-icon-left .form-control {
    padding-left: 2.75rem;
}

.input-icon-left .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6f6b7d;
    z-index: 4;
    pointer-events: none;
}

/* Input with Icon (Right) */
.input-icon-right {
    position: relative;
}

.input-icon-right .form-control {
    padding-right: 2.75rem;
}

.input-icon-right .input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6f6b7d;
    z-index: 4;
    pointer-events: none;
}

/* Input Groups with Prefix/Suffix */
.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #d9dee3;
    color: #6f6b7d;
    font-size: 0.9375rem;
}

.input-group-text.bg-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary);
    color: white;
}

.input-group-text.bg-success {
    background-color: #28C76F !important;
    border-color: #28C76F;
    color: white;
}

.input-group-text.bg-danger {
    background-color: #EA5455 !important;
    border-color: #EA5455;
    color: white;
}

.input-group-text.bg-warning {
    background-color: #FF9F43 !important;
    border-color: #FF9F43;
    color: white;
}

.input-group-text.bg-info {
    background-color: #00CFE8 !important;
    border-color: #00CFE8;
    color: white;
}

/* Currency Input (EUR) */
.input-currency {
    position: relative;
}

.input-currency .form-control {
    padding-left: 2.5rem;
    font-weight: 500;
}

.input-currency::before {
    content: '€';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6f6b7d;
    font-weight: 600;
    font-size: 1rem;
    z-index: 4;
}

.input-currency .form-control:focus+.currency-symbol,
.input-currency:focus-within::before {
    color: var(--bs-primary);
}

/* File Upload Zone - Default Style */
.file-upload-zone {
    border: 2px dashed #d9dee3;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #fafafa;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: var(--bs-primary);
    background-color: rgba(255, 51, 102, 0.03);
}

.file-upload-zone .upload-icon {
    font-size: 2.5rem;
    color: #6f6b7d;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.file-upload-zone:hover .upload-icon {
    color: var(--bs-primary);
}

.file-upload-zone .upload-text {
    color: #6f6b7d;
    font-size: 0.9375rem;
}

.file-upload-zone .upload-text strong {
    color: var(--bs-primary);
}

/* File Upload - Solid Style Variants */
.file-upload-solid {
    border: none;
    border-radius: 0.5rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-solid .upload-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.file-upload-solid.solid-primary {
    background-color: rgba(255, 51, 102, 0.1);
    border: 2px solid rgba(255, 51, 102, 0.3);
    color: var(--bs-primary);
}

.file-upload-solid.solid-primary:hover {
    background-color: rgba(255, 51, 102, 0.15);
}

.file-upload-solid.solid-success {
    background-color: rgba(40, 199, 111, 0.1);
    border: 2px solid rgba(40, 199, 111, 0.3);
    color: #28C76F;
}

.file-upload-solid.solid-info {
    background-color: rgba(0, 207, 232, 0.1);
    border: 2px solid rgba(0, 207, 232, 0.3);
    color: #00CFE8;
}

.file-upload-solid.solid-warning {
    background-color: rgba(255, 159, 67, 0.1);
    border: 2px solid rgba(255, 159, 67, 0.3);
    color: #FF9F43;
}

/* File Upload - Circle Style */
.file-upload-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px dashed #d9dee3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.file-upload-circle:hover {
    border-color: var(--bs-primary);
    background-color: rgba(255, 51, 102, 0.03);
}

.file-upload-circle .upload-icon {
    font-size: 2rem;
    color: #6f6b7d;
    margin-bottom: 0.5rem;
}

/* Rating Component - Stars */
.rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #d9dee3;
    padding: 0 0.125rem;
    transition: color 0.2s ease;
}

.rating label:hover,
.rating label:hover~label,
.rating input:checked~label {
    color: #ffc107;
}

.rating label::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Rating Display (Read-only) */
.rating-display {
    display: inline-flex;
    gap: 0.125rem;
}

.rating-display .star {
    color: #d9dee3;
    font-size: 1rem;
}

.rating-display .star.filled {
    color: #ffc107;
}

.rating-display .star.half-filled {
    color: #ffc107;
}

/* Flatpickr Enhanced Styling */
.flatpickr-input {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236f6b7d'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem !important;
}

.flatpickr-calendar {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
}

.flatpickr-months {
    background: var(--bs-primary);
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.5rem;
}

.flatpickr-months .flatpickr-month {
    color: white;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: white;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    fill: rgba(255, 255, 255, 0.8);
}

.flatpickr-current-month {
    color: white;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent;
    color: white;
}

.flatpickr-weekdays {
    background: #f8f9fa;
}

.flatpickr-day.today {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.flatpickr-day.today:hover {
    background: rgba(255, 51, 102, 0.1);
}

.flatpickr-day.selected {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.flatpickr-day.inRange {
    background: rgba(255, 51, 102, 0.1);
    border-color: transparent;
}

/* Checkboxes & Radios - Custom Styling */
.form-check-input {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.15rem;
    border: 2px solid #d9dee3;
    transition: all 0.15s ease;
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 51, 102, 0.15);
}

.form-check-label {
    color: #5D596C;
    font-weight: 400;
}

/* Switch Toggle */
.form-switch .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    border-radius: 1rem;
}

.form-switch .form-check-input:checked {
    background-color: var(--bs-primary);
}

/* Textarea Styling */
textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Form Floating Labels */
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--bs-primary);
}

.form-floating>.form-control:focus {
    border-color: var(--bs-primary);
}

/* Validation States */
.form-control.is-valid {
    border-color: #28C76F;
    padding-right: calc(1.5em + 1.25rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328C76F' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.3125rem) center;
    background-size: calc(0.75em + 0.625rem) calc(0.75em + 0.625rem);
}

.form-control.is-invalid {
    border-color: #EA5455;
    padding-right: calc(1.5em + 1.25rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23EA5455'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23EA5455' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.3125rem) center;
    background-size: calc(0.75em + 0.625rem) calc(0.75em + 0.625rem);
}

.valid-feedback {
    color: #28C76F;
}

.invalid-feedback {
    color: #EA5455;
}

/* Select2 Style Override (if used) */
.select2-container--default .select2-selection--single {
    border: 1px solid #d9dee3;
    border-radius: 0.375rem;
    height: auto;
    padding: 0.5rem 0.75rem;
}

.select2-container--default .select2-selection--single:focus {
    border-color: var(--bs-primary);
}

/* Range Slider */
.form-range::-webkit-slider-thumb {
    background: var(--bs-primary);
}

.form-range::-moz-range-thumb {
    background: var(--bs-primary);
}

.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.25rem rgba(255, 51, 102, 0.25);
}

/* ==================================================
           ADMINX UI COMPONENTS - Alerts, Badges, Buttons, Ribbons, Tabs
           ================================================== */

/* ===== ALERT COMPONENTS ===== */

/* Basic Alerts */
.alert {
    border-radius: 0.375rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: none;
    font-size: 0.9375rem;
}

.alert-primary {
    background-color: var(--bs-primary);
    color: white;
}

.alert-secondary {
    background-color: #8592A3;
    color: white;
}

.alert-success {
    background-color: #28C76F;
    color: white;
}

.alert-danger {
    background-color: #EA5455;
    color: white;
}

.alert-warning {
    background-color: #FF9F43;
    color: white;
}

.alert-info {
    background-color: #00CFE8;
    color: white;
}

.alert-light {
    background-color: #f8f9fa;
    color: #5D596C;
}

.alert-dark {
    background-color: #4B4B4B;
    color: white;
}

/* Outline Alerts */
.alert-outline-primary {
    background-color: transparent;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
}

.alert-outline-secondary {
    background-color: transparent;
    border: 1px solid #8592A3;
    color: #8592A3;
}

.alert-outline-success {
    background-color: transparent;
    border: 1px solid #28C76F;
    color: #28C76F;
}

.alert-outline-danger {
    background-color: transparent;
    border: 1px solid #EA5455;
    color: #EA5455;
}

.alert-outline-warning {
    background-color: transparent;
    border: 1px solid #FF9F43;
    color: #FF9F43;
}

.alert-outline-info {
    background-color: transparent;
    border: 1px solid #00CFE8;
    color: #00CFE8;
}

/* Light Alerts (with link color) */
.alert-light-primary {
    background-color: rgba(255, 51, 102, 0.1);
    color: var(--bs-primary);
}

.alert-light-primary a {
    color: var(--bs-primary);
    text-decoration: underline;
}

.alert-light-secondary {
    background-color: rgba(133, 146, 163, 0.1);
    color: #8592A3;
}

.alert-light-success {
    background-color: rgba(40, 199, 111, 0.1);
    color: #28C76F;
}

.alert-light-success a {
    color: #28C76F;
    text-decoration: underline;
}

.alert-light-danger {
    background-color: rgba(234, 84, 85, 0.1);
    color: #EA5455;
}

.alert-light-danger a {
    color: #EA5455;
    text-decoration: underline;
}

.alert-light-warning {
    background-color: rgba(255, 159, 67, 0.1);
    color: #FF9F43;
}

.alert-light-info {
    background-color: rgba(0, 207, 232, 0.1);
    color: #00CFE8;
}

/* Alert with Left Border */
.alert-border-left {
    border-left: 4px solid !important;
    border-radius: 0 0.375rem 0.375rem 0;
    background-color: #f8f9fa;
}

.alert-border-left.alert-primary {
    border-left-color: var(--bs-primary) !important;
    color: #5D596C;
}

.alert-border-left.alert-success {
    border-left-color: #28C76F !important;
    color: #5D596C;
}

.alert-border-left.alert-danger {
    border-left-color: #EA5455 !important;
    color: #5D596C;
}

.alert-border-left.alert-warning {
    border-left-color: #FF9F43 !important;
    color: #5D596C;
}

.alert-border-left.alert-info {
    border-left-color: #00CFE8 !important;
    color: #5D596C;
}

/* Alert with Icons */
.alert-icon {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-icon .alert-icon-content {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Alert with Label Icons */
.alert-label-icon {
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.alert-label-icon .label-icon {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.alert-label-icon .alert-content {
    padding: 1rem;
    flex: 1;
}

.alert-label-icon.alert-primary .label-icon {
    background-color: rgba(0, 0, 0, 0.1);
}

.alert-label-icon.alert-success .label-icon {
    background-color: rgba(0, 0, 0, 0.1);
}

.alert-label-icon.alert-danger .label-icon {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Dismissible Alert Enhancement */
.alert-dismissible .btn-close {
    padding: 1.25rem 1rem;
}

/* ===== BADGE COMPONENTS ===== */

/* Basic Badges */
.badge {
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    font-size: 0.8125rem;
    border-radius: 0.25rem;
}

.badge.bg-primary {
    background-color: var(--bs-primary) !important;
}

.badge.bg-secondary {
    background-color: #8592A3 !important;
}

.badge.bg-success {
    background-color: #28C76F !important;
}

.badge.bg-danger {
    background-color: #EA5455 !important;
}

.badge.bg-warning {
    background-color: #FF9F43 !important;
    color: white !important;
}

.badge.bg-info {
    background-color: #00CFE8 !important;
}

.badge.bg-light {
    background-color: #f1f1f1 !important;
    color: #5D596C !important;
}

.badge.bg-dark {
    background-color: #4B4B4B !important;
}

/* Outline Badges */
.badge-outline-primary {
    background-color: transparent;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
}

.badge-outline-secondary {
    background-color: transparent;
    border: 1px solid #8592A3;
    color: #8592A3;
}

.badge-outline-success {
    background-color: transparent;
    border: 1px solid #28C76F;
    color: #28C76F;
}

.badge-outline-danger {
    background-color: transparent;
    border: 1px solid #EA5455;
    color: #EA5455;
}

.badge-outline-warning {
    background-color: transparent;
    border: 1px solid #FF9F43;
    color: #FF9F43;
}

.badge-outline-info {
    background-color: transparent;
    border: 1px solid #00CFE8;
    color: #00CFE8;
}

/* Light Badges */
.badge-light-primary {
    background-color: rgba(255, 51, 102, 0.12);
    color: var(--bs-primary);
}

.badge-light-secondary {
    background-color: rgba(133, 146, 163, 0.12);
    color: #8592A3;
}

.badge-light-success {
    background-color: rgba(40, 199, 111, 0.12);
    color: #28C76F;
}

.badge-light-danger {
    background-color: rgba(234, 84, 85, 0.12);
    color: #EA5455;
}

.badge-light-warning {
    background-color: rgba(255, 159, 67, 0.12);
    color: #FF9F43;
}

.badge-light-info {
    background-color: rgba(0, 207, 232, 0.12);
    color: #00CFE8;
}

/* Pill/Rounded Badges */
.badge-pill,
.rounded-pill {
    border-radius: 10rem !important;
}

/* Badge Sizes */
.badge-sm {
    padding: 0.2rem 0.45rem;
    font-size: 0.7rem;
}

.badge-lg {
    padding: 0.5rem 0.85rem;
    font-size: 0.9375rem;
}

/* Badge with Dot */
.badge-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    display: inline-block;
}

/* Icon Badges */
.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    padding: 0;
}

/* ===== BUTTON COMPONENTS ===== */

/* Base Button Styling */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    font-size: 0.9375rem;
}

/* Solid Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 2px 4px rgba(255, 51, 102, 0.4);
}

.btn-primary:hover {
    background-color: #e62e5c;
    border-color: #e62e5c;
    box-shadow: 0 4px 8px rgba(255, 51, 102, 0.5);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #8592A3;
    border-color: #8592A3;
    box-shadow: 0 2px 4px rgba(133, 146, 163, 0.4);
}

.btn-success {
    background-color: #28C76F;
    border-color: #28C76F;
    box-shadow: 0 2px 4px rgba(40, 199, 111, 0.4);
}

.btn-danger {
    background-color: #EA5455;
    border-color: #EA5455;
    box-shadow: 0 2px 4px rgba(234, 84, 85, 0.4);
}

.btn-warning {
    background-color: #FF9F43;
    border-color: #FF9F43;
    color: white;
    box-shadow: 0 2px 4px rgba(255, 159, 67, 0.4);
}

.btn-info {
    background-color: #00CFE8;
    border-color: #00CFE8;
    box-shadow: 0 2px 4px rgba(0, 207, 232, 0.4);
}

.btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #5D596C;
}

.btn-dark {
    background-color: #4B4B4B;
    border-color: #4B4B4B;
}

/* Outline Buttons */
.btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.btn-outline-secondary {
    border-color: #8592A3;
    color: #8592A3;
}

.btn-outline-secondary:hover {
    background-color: #8592A3;
    color: white;
}

.btn-outline-success {
    border-color: #28C76F;
    color: #28C76F;
}

.btn-outline-success:hover {
    background-color: #28C76F;
    color: white;
}

.btn-outline-danger {
    border-color: #EA5455;
    color: #EA5455;
}

.btn-outline-danger:hover {
    background-color: #EA5455;
    color: white;
}

.btn-outline-warning {
    border-color: #FF9F43;
    color: #FF9F43;
}

.btn-outline-warning:hover {
    background-color: #FF9F43;
    color: white;
}

.btn-outline-info {
    border-color: #00CFE8;
    color: #00CFE8;
}

.btn-outline-info:hover {
    background-color: #00CFE8;
    color: white;
}

/* Light Buttons */
.btn-label-primary {
    background-color: rgba(255, 51, 102, 0.12);
    color: var(--bs-primary);
    border: none;
}

.btn-label-primary:hover {
    background-color: var(--bs-primary);
    color: white;
}

.btn-label-secondary {
    background-color: rgba(133, 146, 163, 0.12);
    color: #8592A3;
    border: none;
}

.btn-label-success {
    background-color: rgba(40, 199, 111, 0.12);
    color: #28C76F;
    border: none;
}

.btn-label-success:hover {
    background-color: #28C76F;
    color: white;
}

.btn-label-danger {
    background-color: rgba(234, 84, 85, 0.12);
    color: #EA5455;
    border: none;
}

.btn-label-danger:hover {
    background-color: #EA5455;
    color: white;
}

.btn-label-warning {
    background-color: rgba(255, 159, 67, 0.12);
    color: #FF9F43;
    border: none;
}

.btn-label-info {
    background-color: rgba(0, 207, 232, 0.12);
    color: #00CFE8;
    border: none;
}

/* Gradient Buttons */
.btn-gradient-primary {
    background: linear-gradient(135deg, #FF3366 0%, #ff6b8a 100%);
    border: none;
    color: white;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #e62e5c 0%, #ff5277 100%);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 51, 102, 0.3);
}

.btn-gradient-success {
    background: linear-gradient(135deg, #28C76F 0%, #48da89 100%);
    border: none;
    color: white;
}

.btn-gradient-danger {
    background: linear-gradient(135deg, #EA5455 0%, #f77677 100%);
    border: none;
    color: white;
}

.btn-gradient-info {
    background: linear-gradient(135deg, #00CFE8 0%, #33dcf0 100%);
    border: none;
    color: white;
}

/* Button Sizes */
.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
}

/* Icon Button */
.btn-icon {
    padding: 0.5rem;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon.btn-sm {
    width: 32px;
    height: 32px;
}

.btn-icon.btn-lg {
    width: 48px;
    height: 48px;
}

/* Loading Button */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .btn-text {
    visibility: hidden;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

/* Rounded/Pill Buttons */
.btn-rounded {
    border-radius: 50rem;
}

/* ===== RIBBON COMPONENTS ===== */

/* Basic Ribbon */
.ribbon-wrapper {
    position: relative;
    overflow: hidden;
}

.ribbon {
    position: absolute;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 1;
}

/* Ribbon Positions */
.ribbon-top-left {
    top: 15px;
    left: -35px;
    transform: rotate(-45deg);
    width: 120px;
    text-align: center;
}

.ribbon-top-right {
    top: 15px;
    right: -35px;
    transform: rotate(45deg);
    width: 120px;
    text-align: center;
}

.ribbon-left {
    top: 10px;
    left: 0;
    border-radius: 0 0.25rem 0.25rem 0;
}

.ribbon-right {
    top: 10px;
    right: 0;
    border-radius: 0.25rem 0 0 0.25rem;
}

/* Ribbon Colors */
.ribbon-primary {
    background-color: var(--bs-primary);
}

.ribbon-secondary {
    background-color: #8592A3;
}

.ribbon-success {
    background-color: #28C76F;
}

.ribbon-danger {
    background-color: #EA5455;
}

.ribbon-warning {
    background-color: #FF9F43;
}

.ribbon-info {
    background-color: #00CFE8;
}

.ribbon-dark {
    background-color: #4B4B4B;
}

/* Arrow Ribbon */
.ribbon-arrow {
    padding: 0.25rem 0.75rem 0.25rem 0.5rem;
}

.ribbon-arrow::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    border-left: 10px solid currentColor;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.ribbon-arrow.ribbon-primary::after {
    border-left-color: var(--bs-primary);
}

.ribbon-arrow.ribbon-success::after {
    border-left-color: #28C76F;
}

.ribbon-arrow.ribbon-danger::after {
    border-left-color: #EA5455;
}

.ribbon-arrow.ribbon-warning::after {
    border-left-color: #FF9F43;
}

.ribbon-arrow.ribbon-info::after {
    border-left-color: #00CFE8;
}

/* Shape Ribbon (Bookmark style) */
.ribbon-shape {
    width: 50px;
    height: 65px;
    padding: 8px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}

.ribbon-shape.ribbon-top-right {
    transform: none;
    top: 0;
    right: 15px;
}

/* Side Ribbon (Vertical) */
.ribbon-side {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 0.75rem 0.35rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Corner Ribbon */
.ribbon-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 0;
}

.ribbon-corner.ribbon-primary {
    border-color: transparent var(--bs-primary) transparent transparent;
}

.ribbon-corner.ribbon-success {
    border-color: transparent #28C76F transparent transparent;
}

.ribbon-corner.ribbon-danger {
    border-color: transparent #EA5455 transparent transparent;
}

.ribbon-corner span {
    position: absolute;
    top: 18px;
    right: -70px;
    transform: rotate(45deg);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Percentage Badge (Circle) */
.ribbon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== TAB COMPONENTS ===== */

/* Basic Tabs */
.nav-tabs-adminx {
    border-bottom: none;
    gap: 0.25rem;
}

.nav-tabs-adminx .nav-link {
    border: none;
    border-radius: 0.375rem;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    color: #5D596C;
    background-color: transparent;
    transition: all 0.2s ease;
}

.nav-tabs-adminx .nav-link:hover {
    background-color: rgba(255, 51, 102, 0.08);
    color: var(--bs-primary);
}

.nav-tabs-adminx .nav-link.active {
    background-color: var(--bs-primary);
    color: white;
}

/* Outline Tabs */
.nav-tabs-outline {
    border-bottom: 2px solid #e9ecef;
}

.nav-tabs-outline .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    color: #5D596C;
}

.nav-tabs-outline .nav-link:hover {
    border-bottom-color: var(--bs-primary);
    color: var(--bs-primary);
}

.nav-tabs-outline .nav-link.active {
    border-bottom-color: var(--bs-primary);
    color: var(--bs-primary);
    font-weight: 600;
}

/* Light Tabs */
.nav-tabs-light .nav-link {
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    color: #5D596C;
}

.nav-tabs-light .nav-link:hover {
    background-color: #f8f9fa;
}

.nav-tabs-light .nav-link.active {
    background-color: rgba(255, 51, 102, 0.12);
    color: var(--bs-primary);
}

/* Background Tabs (Filled) */
.nav-tabs-filled {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.nav-tabs-filled .nav-link {
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1.25rem;
    color: #5D596C;
}

.nav-tabs-filled .nav-link.active {
    background-color: var(--bs-primary);
    color: white;
    box-shadow: 0 2px 4px rgba(255, 51, 102, 0.3);
}

/* Vertical Tabs */
.nav-tabs-vertical {
    flex-direction: column;
    border-right: 2px solid #e9ecef;
    padding-right: 0;
}

.nav-tabs-vertical .nav-link {
    border: none;
    border-right: 2px solid transparent;
    margin-right: -2px;
    text-align: left;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem 0 0 0.375rem;
}

.nav-tabs-vertical .nav-link.active {
    background-color: rgba(255, 51, 102, 0.08);
    border-right-color: var(--bs-primary);
    color: var(--bs-primary);
}

/* Justify Light Tabs */
.nav-tabs-justify {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.nav-tabs-justify .nav-item {
    flex: 1;
}

.nav-tabs-justify .nav-link {
    border: none;
    border-radius: 0.375rem;
    text-align: center;
    color: #5D596C;
}

.nav-tabs-justify .nav-link.active {
    background-color: white;
    color: #5D596C;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Tabs with Icons */
.nav-link .tab-icon {
    margin-right: 0.5rem;
}

/* ===== GRID UTILITIES ===== */

/* Gap Utilities */
.gap-0 {
    gap: 0 !important;
}

.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

.gap-5 {
    gap: 3rem !important;
}

/* Row Gap */
.row-gap-0 {
    row-gap: 0 !important;
}

.row-gap-1 {
    row-gap: 0.25rem !important;
}

.row-gap-2 {
    row-gap: 0.5rem !important;
}

.row-gap-3 {
    row-gap: 1rem !important;
}

.row-gap-4 {
    row-gap: 1.5rem !important;
}

/* Column Gap */
.col-gap-0 {
    column-gap: 0 !important;
}

.col-gap-1 {
    column-gap: 0.25rem !important;
}

.col-gap-2 {
    column-gap: 0.5rem !important;
}

.col-gap-3 {
    column-gap: 1rem !important;
}

.col-gap-4 {
    column-gap: 1.5rem !important;
}

/* Card Grid */
.card-grid {
    display: grid;
    gap: 1.5rem;
}

.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991.98px) {

    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {

    .card-grid-2,
    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Flex Utilities Enhancement */
.d-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.layout-wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.layout-menu {
    width: 260px;
    background-color: #232b3e !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.app-brand {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
}

.app-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-heading-color);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* Dark Sidebar Theme */
.layout-menu,
.layout-menu .menu-inner,
.layout-menu .app-brand {
    background-color: #232b3e !important;
    color: #b7c0cd;
}

.app-brand-text {
    color: #ffffff !important;
}

.app-brand-link {
    color: #ffffff !important;
    text-decoration: none;
}

.menu-inner {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
}

.menu-item {
    margin: 0.25rem 0.75rem;
    border-radius: 0.375rem;
}

.menu-item.active {
    background-color: transparent !important;
}

/* Only apply red background to NON-toggle links (actual page links, not group headers) */
.menu-item.active>.menu-link:not(.menu-toggle) {
    background-color: #FF3366 !important;
    color: #ffffff !important;
    box-shadow: 0 0.25rem 0.5rem rgba(255, 51, 102, 0.4);
}

/* Parent group active state - just keep text white, no red bg */
.menu-item.active>.menu-link.menu-toggle {
    color: #ffffff !important;
    background-color: transparent !important;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    color: var(--sidebar-color);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu-link:hover {
    background-color: rgba(255, 51, 102, 0.8) !important;
    color: #ffffff !important;
}

/* Don't apply red hover to parent toggles */
.menu-link.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.menu-icon {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    width: 1.5rem;
    text-align: center;
}

/* Submenu icon styles */
.menu-sub-icon {
    font-size: 0.75rem;
    margin-right: 0.75rem;
    width: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* Page Content */
.layout-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: var(--bs-body-bg);
}

/* Navbar */
.layout-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 0.375rem 0.25rem rgba(161, 172, 184, 0.15);
    height: 64px;
    /* Fixed height for simplicity */
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    margin: 0.75rem 1.5rem 0;
    /* Unattached/Floating style */
    border-radius: 0.375rem;
    z-index: 10;
}

.navbar-nav {
    flex-direction: row;
    align-items: center;
    width: 100%;
}

/* Content Wrapper - Enhanced Spacing */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 2rem;
    background-color: var(--bs-body-bg);
    min-height: 100vh;
}

/* Page Header - Title Area */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header .page-title {
    font-size: 1.625rem;
    font-weight: 600;
    color: #5D596C;
    margin-bottom: 0.25rem;
}

.page-header .page-subtitle {
    color: #a5a3ae;
    font-size: 0.9375rem;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
}

.page-header .breadcrumb-item a {
    color: var(--bs-primary);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: #a5a3ae;
}

/* Section Spacing */
.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #5D596C;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.section-subtitle {
    color: #a5a3ae;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

/* Content Container */
.content-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Row Spacing Enhancement */
.row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* Cards - White Background with Dashed Border */
.card {
    background-color: #ffffff;
    box-shadow: none;
    border: 1px dashed #d9dee3;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s ease;
}

.card:hover {
    border-color: #b7c0cd;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid #f0f0f0;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-header h5,
.card-header h6 {
    margin-bottom: 0;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid #f0f0f0;
    padding: 1rem 1.5rem;
}

/* Card with no margin bottom */
.card.mb-0 {
    margin-bottom: 0 !important;
}

/* Compact Card Variant */
.card-compact .card-body {
    padding: 1rem 1.25rem;
}

.card-compact .card-header {
    padding: 0.875rem 1.25rem;
}

/* Card Hover Effect */
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(161, 172, 184, 0.4);
}

/* Spacing Utilities - Enhanced */
.mb-section {
    margin-bottom: 2rem !important;
}

.mt-section {
    margin-top: 2rem !important;
}

.py-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.px-card {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.py-card {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Background Variants */
.bg-body {
    background-color: var(--bs-body-bg) !important;
}

.bg-card {
    background-color: var(--bs-card-bg) !important;
}

.bg-light-primary {
    background-color: rgba(255, 51, 102, 0.08) !important;
}

.bg-light-success {
    background-color: rgba(40, 199, 111, 0.08) !important;
}

.bg-light-warning {
    background-color: rgba(255, 159, 67, 0.08) !important;
}

.bg-light-danger {
    background-color: rgba(234, 84, 85, 0.08) !important;
}

.bg-light-info {
    background-color: rgba(0, 207, 232, 0.08) !important;
}

/* Divider */
.divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 1.5rem 0;
}

.divider-dashed {
    border-top: 1px dashed #d9dee3;
    margin: 1.5rem 0;
}

/* Separator with text */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #a5a3ae;
    font-size: 0.8125rem;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.separator:not(:empty)::before {
    margin-right: 1rem;
}

.separator:not(:empty)::after {
    margin-left: 1rem;
}

/* Stats Card Icon Circle */
.stats-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Stats Card */
.stats-card {
    border: 1px dashed #d2d2d2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* AdminX Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 2px 4px 0 rgba(255, 51, 102, 0.4);
    color: #fff;
    font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e62e5c;
    /* Darker Pink */
    border-color: #e62e5c;
    box-shadow: 0 4px 8px 0 rgba(255, 51, 102, 0.5);
    transform: translateY(-1px);
}

/* Utility */
.text-primary {
    color: var(--bs-primary) !important;
}

.bg-menu-theme {
    background-color: var(--bs-card-bg) !important;
}

.footer {
    padding: 1rem 1.5rem;
    background: transparent;
}

/* Responsive helper for sidebar toggle (simplified) */
@media (max-width: 991.98px) {
    .layout-menu {
        position: absolute;
        height: 100%;
        transform: translateX(-100%);
    }

    .layout-menu.active {
        transform: translateX(0);
    }
}

/* Hide Bootstrap Dropdown Arrow */
.dropdown-toggle.hide-arrow::after {
    display: none !important;
}

/* Sidebar Submenu Styles */
.menu-sub {
    display: none;
    list-style: none;
    padding-left: 1.5rem;
    margin: 0;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.375rem;
}

.menu-item.open>.menu-sub {
    display: block;
}

.menu-toggle {
    cursor: pointer;
    justify-content: space-between !important;
}

.menu-toggle::after {
    content: '\f107';
    font-family: "FontAwesome";
    margin-left: auto;
    transition: transform 0.3s;
}

.menu-item.open>.menu-toggle::after {
    transform: rotate(180deg);
}

/* ==================================================
           ENHANCED COMPONENT STYLES - Based on Design Models
           ================================================== */

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28C76F 0%, #48da89 100%) !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #EA5455 0%, #f77677 100%) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #FF9F43 0%, #ffb976 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #00CFE8 0%, #33dcf0 100%) !important;
}

/* Enhanced Statistics Cards */
.stats-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(75, 70, 92, 0.15);
}

.stats-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.75rem;
}

/* Enhanced Buttons */
.btn {
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653b8c 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(115, 103, 240, 0.3);
}

.btn-gradient-success {
    background: linear-gradient(135deg, #28C76F 0%, #48da89 100%);
    border: none;
    color: white;
}

.btn-gradient-success:hover {
    background: linear-gradient(135deg, #20a55a 0%, #36b472 100%);
    color: white;
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.35rem 0.65rem;
}

.badge-pill {
    border-radius: 10rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

/* Enhanced Alerts */
.alert {
    border-left: 4px solid;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.alert-success {
    background-color: #d4edda;
    border-left-color: #28C76F;
    color: #1e7e34;
}

.alert-info {
    background-color: #d1ecf1;
    border-left-color: #00CFE8;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-left-color: #FF9F43;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border-left-color: #EA5455;
    color: #721c24;
}

/* Timeline Component */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bs-border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bs-primary);
    background: white;
    z-index: 1;
}

.timeline-dot.success {
    border-color: var(--bs-success);
}

.timeline-dot.danger {
    border-color: var(--bs-danger);
}

.timeline-dot.warning {
    border-color: var(--bs-warning);
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--bs-primary);
    background: rgba(115, 103, 240, 0.05);
}

.file-upload-area i {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

/* Ribbons */
.ribbon {
    position: absolute;
    top: 15px;
    right: -5px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--bs-primary);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.15);
}

.ribbon::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid rgba(115, 103, 240, 0.7);
    border-top: 5px solid rgba(115, 103, 240, 0.7);
}

.ribbon.success {
    background: var(--bs-success);
}

.ribbon.success::after {
    border-right-color: rgba(40, 199, 111, 0.7);
    border-top-color: rgba(40, 199, 111, 0.7);
}

.ribbon.danger {
    background: var(--bs-danger);
}

.ribbon.danger::after {
    border-right-color: rgba(234, 84, 85, 0.7);
    border-top-color: rgba(234, 84, 85, 0.7);
}

/* Corner Ribbon */
.ribbon-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 0;
    border-color: transparent var(--bs-primary) transparent transparent;
}

.ribbon-corner span {
    position: absolute;
    top: 15px;
    right: -65px;
    transform: rotate(45deg);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Enhanced Card Variants */
.card-gradient {
    background: linear-gradient(135deg, rgba(115, 103, 240, 0.1) 0%, rgba(115, 103, 240, 0.05) 100%);
    border: 1px solid rgba(115, 103, 240, 0.2);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Input Groups with Icons */
.input-group-icon {
    position: relative;
}

.input-group-icon .form-control {
    padding-left: 2.5rem;
}

.input-group-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary);
    z-index: 4;
}

/* Loading Spinner Overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Progress Bars */
.progress {
    height: 0.75rem;
    border-radius: 0.5rem;
}

.progress-bar {
    border-radius: 0.5rem;
}

/* Tabs Enhancement */
.nav-tabs {
    border-bottom: 2px solid var(--bs-border-color);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--bs-body-color);
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--bs-primary);
    border-bottom: 2px solid var(--bs-primary);
}

.nav-tabs .nav-link.active {
    color: var(--bs-primary);
    background: transparent;
    border-bottom: 2px solid var(--bs-primary);
    font-weight: 600;
}

/* Pills Tabs */
.nav-pills .nav-link {
    border-radius: 0.375rem;
    padding: 0.625rem 1rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: var(--bs-primary);
}

/* Table Enhancements */
.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--bs-heading-color);
    border-bottom: 2px solid var(--bs-border-color);
}

.table-hover tbody tr:hover {
    background-color: rgba(115, 103, 240, 0.05);
}

/* User Avatar */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar-lg {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.avatar-sm {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
}

/* Background Label Colors */
.bg-label-primary {
    background-color: rgba(115, 103, 240, 0.12) !important;
}

.bg-label-success {
    background-color: rgba(40, 199, 111, 0.12) !important;
}

.bg-label-danger {
    background-color: rgba(234, 84, 85, 0.12) !important;
}

.bg-label-warning {
    background-color: rgba(255, 159, 67, 0.12) !important;
}

.bg-label-info {
    background-color: rgba(0, 207, 232, 0.12) !important;
}

.bg-label-secondary {
    background-color: rgba(133, 146, 163, 0.12) !important;
}

/* Flatpickr Custom Styling */
.flatpickr-calendar {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: 1px solid var(--bs-border-color);
}

.flatpickr-day.selected {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.flatpickr-day.selected:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Responsive Utilities */
@media (max-width: 767.98px) {
    .stats-card {
        margin-bottom: 1rem;
    }

    .content-wrapper {
        padding: 1rem;
    }
}

/* ==================================================
           ADMINX FORM ELEMENTS - Based on Design Models
           ================================================== */

/* Base Form Control Styling */
.form-control,
.form-select {
    border: 1px solid #d9dee3;
    border-radius: 0.375rem;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 51, 102, 0.15);
    background-color: #fff;
}

.form-control::placeholder {
    color: #a5a3ae;
}

.form-control:disabled,
.form-select:disabled {
    background-color: #f8f9fa;
    opacity: 0.65;
}

/* Form Labels */
.form-label {
    font-weight: 500;
    color: #5D596C;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}

/* Input with Icon (Left) */
.input-icon-left {
    position: relative;
}

.input-icon-left .form-control {
    padding-left: 2.75rem;
}

.input-icon-left .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6f6b7d;
    z-index: 4;
    pointer-events: none;
}

/* Input with Icon (Right) */
.input-icon-right {
    position: relative;
}

.input-icon-right .form-control {
    padding-right: 2.75rem;
}

.input-icon-right .input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6f6b7d;
    z-index: 4;
    pointer-events: none;
}

/* Input Groups with Prefix/Suffix */
.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #d9dee3;
    color: #6f6b7d;
    font-size: 0.9375rem;
}

.input-group-text.bg-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary);
    color: white;
}

.input-group-text.bg-success {
    background-color: #28C76F !important;
    border-color: #28C76F;
    color: white;
}

.input-group-text.bg-danger {
    background-color: #EA5455 !important;
    border-color: #EA5455;
    color: white;
}

.input-group-text.bg-warning {
    background-color: #FF9F43 !important;
    border-color: #FF9F43;
    color: white;
}

.input-group-text.bg-info {
    background-color: #00CFE8 !important;
    border-color: #00CFE8;
    color: white;
}

/* Currency Input (EUR) */
.input-currency {
    position: relative;
}

.input-currency .form-control {
    padding-left: 2.5rem;
    font-weight: 500;
}

.input-currency::before {
    content: '€';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6f6b7d;
    font-weight: 600;
    font-size: 1rem;
    z-index: 4;
}

.input-currency .form-control:focus+.currency-symbol,
.input-currency:focus-within::before {
    color: var(--bs-primary);
}

/* File Upload Zone - Default Style */
.file-upload-zone {
    border: 2px dashed #d9dee3;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #fafafa;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: var(--bs-primary);
    background-color: rgba(255, 51, 102, 0.03);
}

.file-upload-zone .upload-icon {
    font-size: 2.5rem;
    color: #6f6b7d;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.file-upload-zone:hover .upload-icon {
    color: var(--bs-primary);
}

.file-upload-zone .upload-text {
    color: #6f6b7d;
    font-size: 0.9375rem;
}

.file-upload-zone .upload-text strong {
    color: var(--bs-primary);
}

/* File Upload - Solid Style Variants */
.file-upload-solid {
    border: none;
    border-radius: 0.5rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-solid .upload-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.file-upload-solid.solid-primary {
    background-color: rgba(255, 51, 102, 0.1);
    border: 2px solid rgba(255, 51, 102, 0.3);
    color: var(--bs-primary);
}

.file-upload-solid.solid-primary:hover {
    background-color: rgba(255, 51, 102, 0.15);
}

.file-upload-solid.solid-success {
    background-color: rgba(40, 199, 111, 0.1);
    border: 2px solid rgba(40, 199, 111, 0.3);
    color: #28C76F;
}

.file-upload-solid.solid-info {
    background-color: rgba(0, 207, 232, 0.1);
    border: 2px solid rgba(0, 207, 232, 0.3);
    color: #00CFE8;
}

.file-upload-solid.solid-warning {
    background-color: rgba(255, 159, 67, 0.1);
    border: 2px solid rgba(255, 159, 67, 0.3);
    color: #FF9F43;
}

/* File Upload - Circle Style */
.file-upload-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px dashed #d9dee3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.file-upload-circle:hover {
    border-color: var(--bs-primary);
    background-color: rgba(255, 51, 102, 0.03);
}

.file-upload-circle .upload-icon {
    font-size: 2rem;
    color: #6f6b7d;
    margin-bottom: 0.5rem;
}

/* Rating Component - Stars */
.rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #d9dee3;
    padding: 0 0.125rem;
    transition: color 0.2s ease;
}

.rating label:hover,
.rating label:hover~label,
.rating input:checked~label {
    color: #ffc107;
}

.rating label::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Rating Display (Read-only) */
.rating-display {
    display: inline-flex;
    gap: 0.125rem;
}

.rating-display .star {
    color: #d9dee3;
    font-size: 1rem;
}

.rating-display .star.filled {
    color: #ffc107;
}

.rating-display .star.half-filled {
    color: #ffc107;
}

/* Flatpickr Enhanced Styling */
.flatpickr-input {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236f6b7d'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem !important;
}

.flatpickr-calendar {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
}

.flatpickr-months {
    background: var(--bs-primary);
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.5rem;
}

.flatpickr-months .flatpickr-month {
    color: white;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: white;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    fill: rgba(255, 255, 255, 0.8);
}

.flatpickr-current-month {
    color: white;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent;
    color: white;
}

.flatpickr-weekdays {
    background: #f8f9fa;
}

.flatpickr-day.today {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.flatpickr-day.today:hover {
    background: rgba(255, 51, 102, 0.1);
}

.flatpickr-day.selected {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.flatpickr-day.inRange {
    background: rgba(255, 51, 102, 0.1);
    border-color: transparent;
}

/* Checkboxes & Radios - Custom Styling */
.form-check-input {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.15rem;
    border: 2px solid #d9dee3;
    transition: all 0.15s ease;
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 51, 102, 0.15);
}

.form-check-label {
    color: #5D596C;
    font-weight: 400;
}

/* Switch Toggle */
.form-switch .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    border-radius: 1rem;
}

.form-switch .form-check-input:checked {
    background-color: var(--bs-primary);
}

/* Textarea Styling */
textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Form Floating Labels */
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--bs-primary);
}

.form-floating>.form-control:focus {
    border-color: var(--bs-primary);
}

/* Validation States */
.form-control.is-valid {
    border-color: #28C76F;
    padding-right: calc(1.5em + 1.25rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328C76F' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.3125rem) center;
    background-size: calc(0.75em + 0.625rem) calc(0.75em + 0.625rem);
}

.form-control.is-invalid {
    border-color: #EA5455;
    padding-right: calc(1.5em + 1.25rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23EA5455'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23EA5455' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.3125rem) center;
    background-size: calc(0.75em + 0.625rem) calc(0.75em + 0.625rem);
}

.valid-feedback {
    color: #28C76F;
}

.invalid-feedback {
    color: #EA5455;
}

/* Select2 Style Override (if used) */
.select2-container--default .select2-selection--single {
    border: 1px solid #d9dee3;
    border-radius: 0.375rem;
    height: auto;
    padding: 0.5rem 0.75rem;
}

.select2-container--default .select2-selection--single:focus {
    border-color: var(--bs-primary);
}

/* Range Slider */
.form-range::-webkit-slider-thumb {
    background: var(--bs-primary);
}

.form-range::-moz-range-thumb {
    background: var(--bs-primary);
}

.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.25rem rgba(255, 51, 102, 0.25);
}

/* ==================================================
           ADMINX UI COMPONENTS - Alerts, Badges, Buttons, Ribbons, Tabs
           ================================================== */

/* ===== ALERT COMPONENTS ===== */

/* Basic Alerts */
.alert {
    border-radius: 0.375rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: none;
    font-size: 0.9375rem;
}

.alert-primary {
    background-color: var(--bs-primary);
    color: white;
}

.alert-secondary {
    background-color: #8592A3;
    color: white;
}

.alert-success {
    background-color: #28C76F;
    color: white;
}

.alert-danger {
    background-color: #EA5455;
    color: white;
}

.alert-warning {
    background-color: #FF9F43;
    color: white;
}

.alert-info {
    background-color: #00CFE8;
    color: white;
}

.alert-light {
    background-color: #f8f9fa;
    color: #5D596C;
}

.alert-dark {
    background-color: #4B4B4B;
    color: white;
}

/* Outline Alerts */
.alert-outline-primary {
    background-color: transparent;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
}

.alert-outline-secondary {
    background-color: transparent;
    border: 1px solid #8592A3;
    color: #8592A3;
}

.alert-outline-success {
    background-color: transparent;
    border: 1px solid #28C76F;
    color: #28C76F;
}

.alert-outline-danger {
    background-color: transparent;
    border: 1px solid #EA5455;
    color: #EA5455;
}

.alert-outline-warning {
    background-color: transparent;
    border: 1px solid #FF9F43;
    color: #FF9F43;
}

.alert-outline-info {
    background-color: transparent;
    border: 1px solid #00CFE8;
    color: #00CFE8;
}

/* Light Alerts (with link color) */
.alert-light-primary {
    background-color: rgba(255, 51, 102, 0.1);
    color: var(--bs-primary);
}

.alert-light-primary a {
    color: var(--bs-primary);
    text-decoration: underline;
}

.alert-light-secondary {
    background-color: rgba(133, 146, 163, 0.1);
    color: #8592A3;
}

.alert-light-success {
    background-color: rgba(40, 199, 111, 0.1);
    color: #28C76F;
}

.alert-light-success a {
    color: #28C76F;
    text-decoration: underline;
}

.alert-light-danger {
    background-color: rgba(234, 84, 85, 0.1);
    color: #EA5455;
}

.alert-light-danger a {
    color: #EA5455;
    text-decoration: underline;
}

.alert-light-warning {
    background-color: rgba(255, 159, 67, 0.1);
    color: #FF9F43;
}

.alert-light-info {
    background-color: rgba(0, 207, 232, 0.1);
    color: #00CFE8;
}

/* Alert with Left Border */
.alert-border-left {
    border-left: 4px solid !important;
    border-radius: 0 0.375rem 0.375rem 0;
    background-color: #f8f9fa;
}

.alert-border-left.alert-primary {
    border-left-color: var(--bs-primary) !important;
    color: #5D596C;
}

.alert-border-left.alert-success {
    border-left-color: #28C76F !important;
    color: #5D596C;
}

.alert-border-left.alert-danger {
    border-left-color: #EA5455 !important;
    color: #5D596C;
}

.alert-border-left.alert-warning {
    border-left-color: #FF9F43 !important;
    color: #5D596C;
}

.alert-border-left.alert-info {
    border-left-color: #00CFE8 !important;
    color: #5D596C;
}

/* Alert with Icons */
.alert-icon {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-icon .alert-icon-content {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Alert with Label Icons */
.alert-label-icon {
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.alert-label-icon .label-icon {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.alert-label-icon .alert-content {
    padding: 1rem;
    flex: 1;
}

.alert-label-icon.alert-primary .label-icon {
    background-color: rgba(0, 0, 0, 0.1);
}

.alert-label-icon.alert-success .label-icon {
    background-color: rgba(0, 0, 0, 0.1);
}

.alert-label-icon.alert-danger .label-icon {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Dismissible Alert Enhancement */
.alert-dismissible .btn-close {
    padding: 1.25rem 1rem;
}

/* ===== BADGE COMPONENTS ===== */

/* Basic Badges */
.badge {
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    font-size: 0.8125rem;
    border-radius: 0.25rem;
}

.badge.bg-primary {
    background-color: var(--bs-primary) !important;
}

.badge.bg-secondary {
    background-color: #8592A3 !important;
}

.badge.bg-success {
    background-color: #28C76F !important;
}

.badge.bg-danger {
    background-color: #EA5455 !important;
}

.badge.bg-warning {
    background-color: #FF9F43 !important;
    color: white !important;
}

.badge.bg-info {
    background-color: #00CFE8 !important;
}

.badge.bg-light {
    background-color: #f1f1f1 !important;
    color: #5D596C !important;
}

.badge.bg-dark {
    background-color: #4B4B4B !important;
}

/* Outline Badges */
.badge-outline-primary {
    background-color: transparent;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
}

.badge-outline-secondary {
    background-color: transparent;
    border: 1px solid #8592A3;
    color: #8592A3;
}

.badge-outline-success {
    background-color: transparent;
    border: 1px solid #28C76F;
    color: #28C76F;
}

.badge-outline-danger {
    background-color: transparent;
    border: 1px solid #EA5455;
    color: #EA5455;
}

.badge-outline-warning {
    background-color: transparent;
    border: 1px solid #FF9F43;
    color: #FF9F43;
}

.badge-outline-info {
    background-color: transparent;
    border: 1px solid #00CFE8;
    color: #00CFE8;
}

/* Light Badges */
.badge-light-primary {
    background-color: rgba(255, 51, 102, 0.12);
    color: var(--bs-primary);
}

.badge-light-secondary {
    background-color: rgba(133, 146, 163, 0.12);
    color: #8592A3;
}

.badge-light-success {
    background-color: rgba(40, 199, 111, 0.12);
    color: #28C76F;
}

.badge-light-danger {
    background-color: rgba(234, 84, 85, 0.12);
    color: #EA5455;
}

.badge-light-warning {
    background-color: rgba(255, 159, 67, 0.12);
    color: #FF9F43;
}

.badge-light-info {
    background-color: rgba(0, 207, 232, 0.12);
    color: #00CFE8;
}

/* Pill/Rounded Badges */
.badge-pill,
.rounded-pill {
    border-radius: 10rem !important;
}

/* Badge Sizes */
.badge-sm {
    padding: 0.2rem 0.45rem;
    font-size: 0.7rem;
}

.badge-lg {
    padding: 0.5rem 0.85rem;
    font-size: 0.9375rem;
}

/* Badge with Dot */
.badge-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    display: inline-block;
}

/* Icon Badges */
.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    padding: 0;
}

/* ===== BUTTON COMPONENTS ===== */

/* Base Button Styling */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    font-size: 0.9375rem;
}

/* Solid Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 2px 4px rgba(255, 51, 102, 0.4);
}

.btn-primary:hover {
    background-color: #e62e5c;
    border-color: #e62e5c;
    box-shadow: 0 4px 8px rgba(255, 51, 102, 0.5);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #8592A3;
    border-color: #8592A3;
    box-shadow: 0 2px 4px rgba(133, 146, 163, 0.4);
}

.btn-success {
    background-color: #28C76F;
    border-color: #28C76F;
    box-shadow: 0 2px 4px rgba(40, 199, 111, 0.4);
}

.btn-danger {
    background-color: #EA5455;
    border-color: #EA5455;
    box-shadow: 0 2px 4px rgba(234, 84, 85, 0.4);
}

.btn-warning {
    background-color: #FF9F43;
    border-color: #FF9F43;
    color: white;
    box-shadow: 0 2px 4px rgba(255, 159, 67, 0.4);
}

.btn-info {
    background-color: #00CFE8;
    border-color: #00CFE8;
    box-shadow: 0 2px 4px rgba(0, 207, 232, 0.4);
}

.btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #5D596C;
}

.btn-dark {
    background-color: #4B4B4B;
    border-color: #4B4B4B;
}

/* Outline Buttons */
.btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.btn-outline-secondary {
    border-color: #8592A3;
    color: #8592A3;
}

.btn-outline-secondary:hover {
    background-color: #8592A3;
    color: white;
}

.btn-outline-success {
    border-color: #28C76F;
    color: #28C76F;
}

.btn-outline-success:hover {
    background-color: #28C76F;
    color: white;
}

.btn-outline-danger {
    border-color: #EA5455;
    color: #EA5455;
}

.btn-outline-danger:hover {
    background-color: #EA5455;
    color: white;
}

.btn-outline-warning {
    border-color: #FF9F43;
    color: #FF9F43;
}

.btn-outline-warning:hover {
    background-color: #FF9F43;
    color: white;
}

.btn-outline-info {
    border-color: #00CFE8;
    color: #00CFE8;
}

.btn-outline-info:hover {
    background-color: #00CFE8;
    color: white;
}

/* Light Buttons */
.btn-label-primary {
    background-color: rgba(255, 51, 102, 0.12);
    color: var(--bs-primary);
    border: none;
}

.btn-label-primary:hover {
    background-color: var(--bs-primary);
    color: white;
}

.btn-label-secondary {
    background-color: rgba(133, 146, 163, 0.12);
    color: #8592A3;
    border: none;
}

.btn-label-success {
    background-color: rgba(40, 199, 111, 0.12);
    color: #28C76F;
    border: none;
}

.btn-label-success:hover {
    background-color: #28C76F;
    color: white;
}

.btn-label-danger {
    background-color: rgba(234, 84, 85, 0.12);
    color: #EA5455;
    border: none;
}

.btn-label-danger:hover {
    background-color: #EA5455;
    color: white;
}

.btn-label-warning {
    background-color: rgba(255, 159, 67, 0.12);
    color: #FF9F43;
    border: none;
}

.btn-label-info {
    background-color: rgba(0, 207, 232, 0.12);
    color: #00CFE8;
    border: none;
}

/* Gradient Buttons */
.btn-gradient-primary {
    background: linear-gradient(135deg, #FF3366 0%, #ff6b8a 100%);
    border: none;
    color: white;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #e62e5c 0%, #ff5277 100%);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 51, 102, 0.3);
}

.btn-gradient-success {
    background: linear-gradient(135deg, #28C76F 0%, #48da89 100%);
    border: none;
    color: white;
}

.btn-gradient-danger {
    background: linear-gradient(135deg, #EA5455 0%, #f77677 100%);
    border: none;
    color: white;
}

.btn-gradient-info {
    background: linear-gradient(135deg, #00CFE8 0%, #33dcf0 100%);
    border: none;
    color: white;
}

/* Button Sizes */
.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
}

/* Icon Button */
.btn-icon {
    padding: 0.5rem;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon.btn-sm {
    width: 32px;
    height: 32px;
}

.btn-icon.btn-lg {
    width: 48px;
    height: 48px;
}

/* Loading Button */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .btn-text {
    visibility: hidden;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

/* Rounded/Pill Buttons */
.btn-rounded {
    border-radius: 50rem;
}

/* ===== RIBBON COMPONENTS ===== */

/* Basic Ribbon */
.ribbon-wrapper {
    position: relative;
    overflow: hidden;
}

.ribbon {
    position: absolute;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 1;
}

/* Ribbon Positions */
.ribbon-top-left {
    top: 15px;
    left: -35px;
    transform: rotate(-45deg);
    width: 120px;
    text-align: center;
}

.ribbon-top-right {
    top: 15px;
    right: -35px;
    transform: rotate(45deg);
    width: 120px;
    text-align: center;
}

.ribbon-left {
    top: 10px;
    left: 0;
    border-radius: 0 0.25rem 0.25rem 0;
}

.ribbon-right {
    top: 10px;
    right: 0;
    border-radius: 0.25rem 0 0 0.25rem;
}

/* Ribbon Colors */
.ribbon-primary {
    background-color: var(--bs-primary);
}

.ribbon-secondary {
    background-color: #8592A3;
}

.ribbon-success {
    background-color: #28C76F;
}

.ribbon-danger {
    background-color: #EA5455;
}

.ribbon-warning {
    background-color: #FF9F43;
}

.ribbon-info {
    background-color: #00CFE8;
}

.ribbon-dark {
    background-color: #4B4B4B;
}

/* Arrow Ribbon */
.ribbon-arrow {
    padding: 0.25rem 0.75rem 0.25rem 0.5rem;
}

.ribbon-arrow::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    border-left: 10px solid currentColor;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.ribbon-arrow.ribbon-primary::after {
    border-left-color: var(--bs-primary);
}

.ribbon-arrow.ribbon-success::after {
    border-left-color: #28C76F;
}

.ribbon-arrow.ribbon-danger::after {
    border-left-color: #EA5455;
}

.ribbon-arrow.ribbon-warning::after {
    border-left-color: #FF9F43;
}

.ribbon-arrow.ribbon-info::after {
    border-left-color: #00CFE8;
}

/* Shape Ribbon (Bookmark style) */
.ribbon-shape {
    width: 50px;
    height: 65px;
    padding: 8px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}

.ribbon-shape.ribbon-top-right {
    transform: none;
    top: 0;
    right: 15px;
}

/* Side Ribbon (Vertical) */
.ribbon-side {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 0.75rem 0.35rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Corner Ribbon */
.ribbon-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 0;
}

.ribbon-corner.ribbon-primary {
    border-color: transparent var(--bs-primary) transparent transparent;
}

.ribbon-corner.ribbon-success {
    border-color: transparent #28C76F transparent transparent;
}

.ribbon-corner.ribbon-danger {
    border-color: transparent #EA5455 transparent transparent;
}

.ribbon-corner span {
    position: absolute;
    top: 18px;
    right: -70px;
    transform: rotate(45deg);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Percentage Badge (Circle) */
.ribbon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== TAB COMPONENTS ===== */

/* Basic Tabs */
.nav-tabs-adminx {
    border-bottom: none;
    gap: 0.25rem;
}

.nav-tabs-adminx .nav-link {
    border: none;
    border-radius: 0.375rem;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    color: #5D596C;
    background-color: transparent;
    transition: all 0.2s ease;
}

.nav-tabs-adminx .nav-link:hover {
    background-color: rgba(255, 51, 102, 0.08);
    color: var(--bs-primary);
}

.nav-tabs-adminx .nav-link.active {
    background-color: var(--bs-primary);
    color: white;
}

/* Outline Tabs */
.nav-tabs-outline {
    border-bottom: 2px solid #e9ecef;
}

.nav-tabs-outline .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    color: #5D596C;
}

.nav-tabs-outline .nav-link:hover {
    border-bottom-color: var(--bs-primary);
    color: var(--bs-primary);
}

.nav-tabs-outline .nav-link.active {
    border-bottom-color: var(--bs-primary);
    color: var(--bs-primary);
    font-weight: 600;
}

/* Light Tabs */
.nav-tabs-light .nav-link {
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    color: #5D596C;
}

.nav-tabs-light .nav-link:hover {
    background-color: #f8f9fa;
}

.nav-tabs-light .nav-link.active {
    background-color: rgba(255, 51, 102, 0.12);
    color: var(--bs-primary);
}

/* Background Tabs (Filled) */
.nav-tabs-filled {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.nav-tabs-filled .nav-link {
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1.25rem;
    color: #5D596C;
}

.nav-tabs-filled .nav-link.active {
    background-color: var(--bs-primary);
    color: white;
    box-shadow: 0 2px 4px rgba(255, 51, 102, 0.3);
}

/* Vertical Tabs */
.nav-tabs-vertical {
    flex-direction: column;
    border-right: 2px solid #e9ecef;
    padding-right: 0;
}

.nav-tabs-vertical .nav-link {
    border: none;
    border-right: 2px solid transparent;
    margin-right: -2px;
    text-align: left;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem 0 0 0.375rem;
}

.nav-tabs-vertical .nav-link.active {
    background-color: rgba(255, 51, 102, 0.08);
    border-right-color: var(--bs-primary);
    color: var(--bs-primary);
}

/* Justify Light Tabs */
.nav-tabs-justify {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.nav-tabs-justify .nav-item {
    flex: 1;
}

.nav-tabs-justify .nav-link {
    border: none;
    border-radius: 0.375rem;
    text-align: center;
    color: #5D596C;
}

.nav-tabs-justify .nav-link.active {
    background-color: white;
    color: #5D596C;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Tabs with Icons */
.nav-link .tab-icon {
    margin-right: 0.5rem;
}

/* ===== GRID UTILITIES ===== */

/* Gap Utilities */
.gap-0 {
    gap: 0 !important;
}

.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

.gap-5 {
    gap: 3rem !important;
}

/* Row Gap */
.row-gap-0 {
    row-gap: 0 !important;
}

.row-gap-1 {
    row-gap: 0.25rem !important;
}

.row-gap-2 {
    row-gap: 0.5rem !important;
}

.row-gap-3 {
    row-gap: 1rem !important;
}

.row-gap-4 {
    row-gap: 1.5rem !important;
}

/* Column Gap */
.col-gap-0 {
    column-gap: 0 !important;
}

.col-gap-1 {
    column-gap: 0.25rem !important;
}

.col-gap-2 {
    column-gap: 0.5rem !important;
}

.col-gap-3 {
    column-gap: 1rem !important;
}

.col-gap-4 {
    column-gap: 1.5rem !important;
}

/* Card Grid */
.card-grid {
    display: grid;
    gap: 1.5rem;
}

.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991.98px) {

    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {

    .card-grid-2,
    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Flex Utilities Enhancement */
.d-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================
   MAGAZINE-STYLE RESPONSIVE ADJUSTMENTS
   (From orig-responsive.css)
   ========================================== */

/* Tablet and below (960px) */
@media only screen and (max-width: 960px) {
    .cover-logo {
        padding: 0 20px;
    }

    .menu-logo {
        margin-left: calc(3% + 52px);
    }

    .nav-open #cover-header {
        padding: 20px 3%;
        position: fixed;
    }

    .fold-shadow-left {
        display: none;
    }
}

/* Mobile (640px and below) */
@media only screen and (max-width: 640px) {

    .cover-sidebar-left,
    .cover-sidebar-right {
        bottom: 20px;
    }

    .cover-sidebar-left {
        left: 2%;
        width: 40%;
    }

    .cover-sidebar-right {
        right: 2%;
        width: 40%;
    }

    .widget {
        margin-top: 20px;
    }

    .widget_cover_line .cover-title h1 a {
        font-size: 60% !important;
        line-height: 0.5em !important;
    }

    .cover-widgets .widget {
        margin-top: 20px;
    }
}

/* Small Mobile (479px and below) */
@media only screen and (max-width: 479px) {
    #nav-wrapper {
        height: 400px;
        padding-left: 40px;
    }

    #nav-wrapper .nav-menu li a {
        font-size: 22px !important;
    }

    .cover-sidebar-left,
    .cover-sidebar-right {
        bottom: 40px;
    }

    .cover-widgets .widget {
        margin-top: 32px;
    }

    .widget_cover_line .cover-title h1 {
        line-height: 0.5em;
    }

    .widget_cover_line .cover-title h1 a {
        font-size: 60% !important;
    }
}

/* Extra Small Mobile (414px and below) */
@media only screen and (max-width: 414px) {
    .cover-sidebar-left {
        left: 2%;
        width: 40%;
    }

    .cover-sidebar-right {
        right: 2%;
        width: 40%;
    }
}

/* Tiny Mobile (360px and below) */
@media only screen and (max-width: 360px) {
    .widget_cover_line .cover-title h1 a {
        font-size: 45% !important;
        line-height: 0.3em !important;
    }

    .widget_widget_banner {
        margin-top: 20px;
    }
}

/* Post Navigation Styles */
.post-navigation {
    position: relative;
}

.postnav-image {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.postnav-image:hover {
    transform: scale(1.05);
}

.postnav-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    z-index: 3;
    pointer-events: none;
}

.postnav-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.postnav-image .navfirst,
.postnav-image .navfirst img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile Fixes for Hero and Padding */
@media (max-width: 768px) {
    .left-panel {
        height: 100vh !important;
    }

    .right-panel-content {
        padding-top: var(--space-xl) !important;
    }
}

/* Mobile Menu Styling Fixes */
@media (max-width: 768px) {
    .right-panel-header {
        background: #1a202c !important;
        /* Dark Background */
        z-index: 2000 !important;
    }

    .menu-link {
        color: #ffffff !important;
        /* Light Text */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .menu-link:hover,
    .menu-link.active {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ecc94b !important;
        /* Accent Color */
        padding-left: 25px !important;
    }

    .mobile-menu-btn {
        z-index: 2001 !important;
        /* Ensure button is above header */
    }

    .mobile-menu-btn .hamburger-line {
        background: #1a202c !important;
    }

    .mobile-menu-btn.active .hamburger-line {
        background: #1a202c !important;
    }
}

/* Mobile Menu Layout Fixes */
@media (max-width: 768px) {
    .right-panel-header.active {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: #1a202c !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 80px !important;
        overflow-y: auto !important;
    }

    .right-panel-header.active .main-menu {
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
    }

    .right-panel-header.active .menu-left {
        flex-direction: column !important;
        width: 100% !important;
        align-items: flex-start !important;
    }

    .right-panel-header.active .menu-right {
        margin-top: 20px !important;
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Mobile Menu Refinements */
.mobile-menu-logo {
    display: none;
}

.mobile-account-link {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-logo {
        display: block;
        padding: 0 0 20px 20px;
    }

    .mobile-menu-logo img {
        height: 40px;
        width: auto;
    }

    .menu-right.desktop-only {
        display: none !important;
    }

    .mobile-account-link {
        display: block;
        margin-top: 10px;
    }

    .menu-link {
        padding: 10px 20px !important;
        /* Reduced padding */
        font-size: 0.95rem !important;
    }

    .menu-link:hover,
    .menu-link.active {
        padding-left: 25px !important;
    }
}

/* Mobile Menu Logo Alignment */
@media (max-width: 768px) {
    .mobile-menu-logo {
        position: absolute;
        top: 20px;
        left: 20px;
        padding: 0 !important;
        z-index: 2002;
    }

    .mobile-menu-logo img {
        height: 40px;
        width: auto;
        box-shadow: none !important;
        filter: none !important;
    }

    /* Ensure content doesn't overlap logo */
    .right-panel-header.active {
        padding-top: 80px !important;
    }
}