/* ============================================
   EgészségPanel Modern Design System
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */

:root {
    /* Color Palette */
    --color-primary-50: #f0fdfa;
    --color-primary-100: #ccfbf1;
    --color-primary-200: #99f6e4;
    --color-primary-300: #5eead4;
    --color-primary-400: #2dd4bf;
    --color-primary-500: #14b8a6;
    --color-primary-600: #0d9488;
    --color-primary-700: #0f766e;
    --color-primary-800: #115e59;
    --color-primary-900: #134e4a;

    --color-secondary-50: #eff6ff;
    --color-secondary-100: #dbeafe;
    --color-secondary-200: #bfdbfe;
    --color-secondary-300: #93c5fd;
    --color-secondary-400: #60a5fa;
    --color-secondary-500: #3b82f6;
    --color-secondary-600: #2563eb;
    --color-secondary-700: #1d4ed8;
    --color-secondary-800: #1e40af;
    --color-secondary-900: #1e3a8a;

    --color-accent-50: #fffbeb;
    --color-accent-100: #fef3c7;
    --color-accent-200: #fde68a;
    --color-accent-300: #fcd34d;
    --color-accent-400: #fbbf24;
    --color-accent-500: #f59e0b;
    --color-accent-600: #d97706;
    --color-accent-700: #b45309;
    --color-accent-800: #92400e;
    --color-accent-900: #78350f;

    --color-emerald-500: #10b981;
    --color-emerald-600: #059669;
    --color-emerald-700: #047857;
    --color-emerald-800: #065f46;
    --color-emerald-900: #064e3b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-emerald-600) 100%);
    --gradient-hero: linear-gradient(135deg, #0f766e 0%, #047857 50%, #065f46 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 1.875rem;
    /* 30px */
    --font-size-4xl: 2.25rem;
    /* 36px */
    --font-size-5xl: 3rem;
    /* 48px */
    --font-size-6xl: 3.75rem;
    /* 60px */

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Spacing */
    --spacing-0: 0;
    --spacing-1: 0.25rem;
    /* 4px */
    --spacing-2: 0.5rem;
    /* 8px */
    --spacing-3: 0.75rem;
    /* 12px */
    --spacing-4: 1rem;
    /* 16px */
    --spacing-5: 1.25rem;
    /* 20px */
    --spacing-6: 1.5rem;
    /* 24px */
    --spacing-8: 2rem;
    /* 32px */
    --spacing-10: 2.5rem;
    /* 40px */
    --spacing-12: 3rem;
    /* 48px */
    --spacing-16: 4rem;
    /* 64px */
    --spacing-20: 5rem;
    /* 80px */
    --spacing-24: 6rem;
    /* 96px */

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
    --shadow-glow-teal: 0 0 30px rgba(13, 148, 136, 0.4);

    /* Border Radius */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-base: 0.5rem;
    /* 8px */
    --radius-md: 0.75rem;
    /* 12px */
    --radius-lg: 1rem;
    /* 16px */
    --radius-xl: 1.5rem;
    /* 24px */
    --radius-2xl: 2rem;
    /* 32px */
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-index */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 20;
    --z-fixed: 30;
    --z-modal-backdrop: 40;
    --z-modal: 50;
    --z-popover: 60;
    --z-tooltip: 70;
}

/* ============================================
   Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: #1f2937;
    background-color: #f9fafb;
}

/* ============================================
   Glassmorphism Components
   ============================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* ============================================
   Gradient Backgrounds
   ============================================ */

.gradient-bg-primary {
    background: var(--gradient-primary);
}

.gradient-bg-hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.gradient-bg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    animation: float 8s ease-in-out infinite;
}

.gradient-bg-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30%, 30%);
    animation: float 10s ease-in-out infinite reverse;
}

/* ============================================
   Button System
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    line-height: var(--line-height-tight);
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow-teal);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    color: var(--color-primary-700);
    border: 2px solid var(--color-primary-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--color-primary-50);
    border-color: var(--color-primary-400);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    box-shadow: var(--shadow-xl), 0 0 30px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.btn-danger:active {
    transform: translateY(0);
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-10);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-full);
}

/* ============================================
   Hover Effects
   ============================================ */

.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: transform var(--transition-base);
}

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

.hover-glow {
    transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow-teal);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(13, 148, 136, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(13, 148, 136, 0.6);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(30%, -30%);
    }

    50% {
        transform: translate(35%, -25%);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-spin {
    animation: spin 3s linear infinite;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Staggered Animation Delays */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

/* ============================================
   Card Components
   ============================================ */

.card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    box-shadow: var(--shadow-base);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card-feature {
    position: relative;
    overflow: hidden;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.card-feature:hover::before {
    transform: scaleX(1);
}

/* ============================================
   Form Elements
   ============================================ */

.form-input {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    font-size: var(--font-size-base);
    font-family: var(--font-family-base);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-lg);
    background: white;
    transition: all var(--transition-base);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: #374151;
    margin-bottom: var(--spacing-2);
}

/* ============================================
   Navigation Enhancements
   ============================================ */

.nav-link {
    position: relative;
    color: #6b7280;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-base);
    padding: var(--spacing-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-primary-600);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary-600);
}

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   Mobile Menu
   ============================================ */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-2xl);
    transition: right var(--transition-base);
    z-index: var(--z-modal);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-modal-backdrop);
}

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

/* Hamburger Menu Icon */
.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   Utility Classes
   ============================================ */

.text-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #fef3c7 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.backdrop-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.overflow-hidden {
    overflow: hidden;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.z-10 {
    z-index: 10;
}

/* ============================================
   Responsive Utilities
   ============================================ */

@media (max-width: 768px) {
    :root {
        --font-size-4xl: 1.875rem;
        /* 30px on mobile */
        --font-size-5xl: 2.25rem;
        /* 36px on mobile */
        --font-size-6xl: 2.5rem;
        /* 40px on mobile */
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {

    .glass-card,
    .glass-nav {
        background: white;
        backdrop-filter: none;
    }

    .btn {
        border: 1px solid #000;
    }
}

/* ============================================
   User Status Badge System
   ============================================ */

/* Base status badge styling */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border: 1px solid;
    white-space: nowrap;
}

/* Beginner level (0 surveys) */
.status-badge-beginner {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.2), rgba(107, 114, 128, 0.3));
    color: #D1D5DB;
    border-color: rgba(156, 163, 175, 0.4);
}

.status-badge-beginner:hover {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.3), rgba(107, 114, 128, 0.4));
    transform: scale(1.05);
}

/* Gold level (1-5 surveys) */
.status-badge-gold {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.3));
    color: #FCD34D;
    border-color: rgba(251, 191, 36, 0.4);
}

.status-badge-gold:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.4));
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

/* VIP level (6+ surveys) */
.status-badge-vip {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.3));
    color: #C4B5FD;
    border-color: rgba(168, 85, 247, 0.4);
    animation: pulse-glow-vip 2s ease-in-out infinite;
}

.status-badge-vip:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.4));
    transform: scale(1.05);
}

/* VIP pulse glow animation */
@keyframes pulse-glow-vip {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    }
}

/* Delay for badge animation */
.delay-50 {
    animation-delay: 50ms;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .status-badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
        gap: 0.25rem;
    }

    .status-badge .w-4 {
        width: 0.875rem;
        height: 0.875rem;
    }

    /* Hide text on very small screens, show only icon */
    @media (max-width: 480px) {
        .status-badge .status-text {
            display: none;
        }

        .status-badge {
            padding: 0.375rem;
        }
    }
}

/* ============================================
   Bonus Stepper Visualization
   ============================================ */

.bonus-stepper-container {
    position: relative;
    padding: 40px 20px;
    margin: 20px 0;
}

/* Progress Line - Background */
.bonus-stepper-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #d1d5db;
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: 1;
}

/* Progress Line - Filled (Dynamic) */
.bonus-stepper-line-filled {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669 0%, #f59e0b 100%);
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: 2;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

/* Steps Container */
.bonus-stepper-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

/* Individual Step */
.bonus-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

/* Step Circle */
.bonus-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6b7280;
    transition: all 0.3s ease;
    position: relative;
    z-index: 4;
}

/* Step Number */
.bonus-step-number {
    font-size: 0.875rem;
    font-weight: 700;
}

/* Step Label */
.bonus-step-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    white-space: nowrap;
    font-weight: 500;
}

/* Milestone Steps (3rd and 6th) */
.bonus-milestone .bonus-step-circle {
    width: 56px;
    height: 56px;
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.bonus-milestone .bonus-step-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.bonus-milestone .bonus-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #f59e0b;
}

.bonus-milestone .bonus-text {
    font-size: 0.625rem;
    color: #92400e;
    font-weight: 600;
}

/* Completed State */
.bonus-step.completed .bonus-step-circle {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #059669;
    color: white;
}

.bonus-step.completed .bonus-step-label {
    color: #059669;
    font-weight: 600;
}

/* Active/Current State */
.bonus-step.active .bonus-step-circle {
    border-color: #0d9488;
    border-width: 4px;
    animation: pulse-ring 2s ease-in-out infinite;
}

/* Pulse Animation for Active Step */
@keyframes pulse-ring {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(13, 148, 136, 0);
    }
}

/* Milestone Completed State */
.bonus-milestone.completed .bonus-step-circle {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: #f59e0b;
    animation: celebrate 0.6s ease-out;
}

@keyframes celebrate {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bonus-stepper-container {
        padding: 30px 10px;
    }

    .bonus-step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .bonus-milestone .bonus-step-circle {
        width: 44px;
        height: 44px;
    }

    .bonus-step-label {
        font-size: 0.625rem;
    }

    .bonus-milestone .bonus-amount {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .bonus-step-label {
        display: none;
    }

    .bonus-milestone .bonus-step-label {
        display: flex;
    }
}

/* ============================================
   Profiling Survey Card
   ============================================ */

/* Profiling card special styling */
.profiling-card {
    position: relative;
    border: 2px solid rgba(168, 85, 247, 0.2);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03), rgba(147, 51, 234, 0.05));
}

.profiling-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #9333ea);
    border-radius: 1rem 1rem 0 0;
}

.profiling-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.15);
}

/* Grid contents class for dynamic surveys */
.contents {
    display: contents;
}

/* ============================================
   Points Details Section (Toggle)
   ============================================ */

/* Points Details Section - Toggle Animation */
.points-details-section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease,
    padding 0.6s ease;
}

.points-details-section.active {
    max-height: 2500px;
    /* Large enough for all content */
    opacity: 1;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Table Styles */
.points-details-section table {
    border-collapse: collapse;
}

.points-details-section table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.points-details-section table tbody tr:hover {
    background-color: #f9fafb;
}

.points-details-section table tbody tr:last-child {
    border-bottom: none;
}

.points-details-section table td {
    padding: 0.75rem 1rem;
}

/* Positive/Negative Points Styling */
.points-positive {
    color: #059669;
    font-weight: 600;
}

.points-negative {
    color: #dc2626;
    font-weight: 600;
}

/* Chart Container */
.points-details-section canvas {
    max-height: 16rem;
}




.site-logo {
    max-width: 80px;
}

@media (min-width: 768px) {
    .p-md-8 {
        padding: 2rem;
    }
}


.swal2-styled.swal2-confirm,
.swal2-confirm {
    font-size: 16px !important;
    background-color: #006945 !important;
    border-radius: 40px !important;
    color: white !important;
    padding: 12px 60px;
    white-space: break-spaces;
    font-weight: bold;
    margin-bottom: 20px;
}
.swal2-styled.swal2-cancel,
.swal2-cancel {
    font-size: 12px !important;
    background-color: #ffffff !important;
    border-radius: 40px !important;
    color: #333333 !important;
    padding: 10px 20px;
    white-space: break-spaces;
    font-weight: bold;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}
.swal2-confirm,
.swal2-confirm:active,
.swal2-confirm:focus,
.swal2-confirm:visited,
.swal2-cancel,
.swal2-cancel:active,
.swal2-cancel:focus,
.swal2-cancel:visited,
.swal2-styled.swal2-confirm,
.swal2-styled.swal2-confirm:active,
.swal2-styled.swal2-confirm:focus,
.swal2-styled.swal2-confirm:visited,
.swal2-styled.swal2-cancel,
.swal2-styled.swal2-cancel:active,
.swal2-styled.swal2-cancel:focus,
.swal2-styled.swal2-cancel:visited {
    border: none !important;
    outline: none !important;
}
.swal2-styled.swal2-actions,
.swal2-actions {
    flex-direction: column !important;
}