/* --- ROOT DESIGN TOKENS --- */
:root {
    /* Logo Colors & Gradients */
    --blue-light: #3CCBFF;
    --blue-dark: #5A1CFF;
    --red-pink: #FF3091;
    --orange: #FFAA2C;

    /* Backgrounds */
    --page-bg: #F8FAFCBF;
    --sidebar-bg: rgba(255, 255, 255, 0.85);
    --card-glass-bg: rgba(255, 255, 255, 0.45);

    /* Text Colors */
    --text-main: #1f235d;
    --text-muted: #64748b;
    --text-gray: #94a3b8;
    --text-white: #ffffff;

    /* Shadows & Effects */
    --premium-shadow: 0 20px 60px rgba(31, 38, 135, 0.08);
    --small-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --glass-blur: 25px;
    --sidebar-blur: 40px;

    /* Border Radii */
    --radius-card: 30px;
    --radius-pill: 9999px;
    --radius-icon: 12px;

    /* Interactive */
    --nav-active-bg: rgba(255, 48, 145, 0.08);
    --btn-active-bg: #edf1ff;
    --toggle-on: #3b82f6;
    --toggle-off: #cbd5e1;
    --accent-blue: #3CCBFF;
    --accent-blue-alt: #3CCBFF;
    --accent-purple: #5A1CFF;
    --success-green: #4BC30F;
    --accent-blue-bg: rgba(60, 203, 255, 0.1);
    --accent-purple-bg: rgba(90, 28, 255, 0.1);
    --orange-bg: #FFAA2C1A;
    --green-bg: #19A05A1A;
    --blue-bg: #006AEE1A;
    --deep-navy: #0D0844;
    --slate-dark: #0f172a;
    --border-light: #f1f5f9;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-83: rgba(255, 255, 255, 0.83);
    --dark-blue-alpha: #0d084412;
    --sky-blue-alpha: rgba(60, 203, 255, 0.07);
    --black-03: rgba(0, 0, 0, 0.03);
    --mobile-nav-bg: rgba(255, 255, 255, 0.95);
    --mobile-nav-bubble-bg: #ffffff;

    /* Splash Screen Specific */
    --splash-bg: #F4F6FB;
    --splash-circle-1: #FDFDFE;
    --splash-circle-2: #FAFBFE;
    --splash-circle-3: #F7F9FC;
    --splash-center-bg: #ffffff;
    --splash-text: #0d0b21;
    --splash-ring: rgba(60, 203, 255, 0.5);
}

/* --- BASE STYLES --- */
html {
    background-color: #f8fafc;
    overscroll-behavior: none;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background: transparent;
}

/* --- GLOBAL CUSTOM SCROLLBAR --- */
*::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

*::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3CCBFF 0%, #5A1CFF 100%);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFAA2C 0%, #FF3091 100%);
}

/* Hide up/down arrow buttons */
*::-webkit-scrollbar-button:start,
*::-webkit-scrollbar-button:end,
*::-webkit-scrollbar-button:single-button,
*::-webkit-scrollbar-button:double-button {
    display: none;
    height: 0;
    width: 0;
}

/* Firefox: only thin, no color override so webkit gradient still applies in Chrome/Edge */
/* scrollbar-color not set here intentionally — it would override webkit gradient with flat color */

/* Page Backgrounds */
.page-background-base {
    position: fixed;
    inset: -5%;
    background: linear-gradient(var(--white-90), var(--white-90)), url('../image/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    z-index: -10;
    transform: scale(1.1);
}

.page-frosted-overlay {
    position: fixed;
    inset: 0;
    background: rgba(248, 250, 252, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: -5;
}

/* Background Blobs */
.bg-blur-1,
.bg-blur-2,
.bg-blur-3 {
    position: fixed;
    filter: blur(140px);
    z-index: -1;
}

.bg-blur-1 {
    top: -5%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(60, 203, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    animation: float 20s infinite alternate;
}

.bg-blur-2 {
    bottom: -5%;
    left: -5%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(255, 48, 145, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    animation: float 25s infinite alternate-reverse;
}

.bg-blur-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(90, 28, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(5%, 5%);
    }
}

/* Glassmorphism Logic */
.glass-card {
    background: var(--card-glass-bg);
    border: 0px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-card);
    box-shadow: var(--premium-shadow);
}

/* --- SIDEBAR STYLES --- */
#sidebar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(var(--white-90), var(--white-90)), url('../image/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(var(--sidebar-blur));
    z-index: 2000;
}

#sidebar-overlay {
    z-index: 1999;
}

/* Mobile defaults: Full width content, hidden sidebar via Tailwind classes */
#main-content {
    margin-left: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .sidebar-expanded {
        width: 260px;
    }

    .sidebar-collapsed {
        width: 92px;
    }

    #main-content.content-expanded {
        margin-left: 260px;
        width: calc(100% - 260px);
    }

    #main-content.content-collapsed {
        margin-left: 92px;
        width: calc(100% - 92px);
    }

    .sidebar-collapsed .nav-text,
    .sidebar-collapsed .logo-text,
    .sidebar-collapsed .sidebar-section-title {
        opacity: 0;
        pointer-events: none;
        width: 0;
        display: none;
    }
}

/* Sidebar Components */
.toggle-icon-btn {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--small-shadow);
    z-index: 60;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.toggle-icon-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.custom-toggle {
    display: flex;
    flex-direction: column;
    gap: 4.5px;
    width: 18px;
}

.toggle-bar {
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-toggle.is-active .bar-top {
    transform: translateY(6.5px) rotate(45deg);
    width: 100% !important;
}

.custom-toggle.is-active .bar-mid {
    opacity: 0;
}

.custom-toggle.is-active .bar-bot {
    transform: translateY(-6.5px) rotate(-45deg);
    width: 100% !important;
}

.sidebar-expanded .bar-top {
    width: 55%;
    align-self: flex-start;
}

.sidebar-expanded .bar-mid {
    width: 100%;
}

.sidebar-expanded .bar-bot {
    width: 55%;
    align-self: flex-end;
}

.sidebar-collapsed .bar-top {
    width: 55%;
    align-self: flex-end;
}

.sidebar-collapsed .bar-mid {
    width: 100%;
}

.sidebar-collapsed .bar-bot {
    width: 55%;
    align-self: flex-start;
}

.sidebar-item {
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px;
    text-decoration: none;
}

.sidebar-item:hover,
.sidebar-item.active {
    color: var(--deep-navy);
    background: linear-gradient(to right, var(--accent-blue-bg), var(--accent-purple-bg));
}

.sidebar-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--red-pink);
    border-radius: 0 4px 4px 0;
}

.icon-circle {
    background: rgba(100, 116, 139, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-icon);
    transition: all 0.3s ease;
}

.sidebar-item:hover .icon-circle,
.sidebar-item.active .icon-circle {
    background: var(--dark-blue-alpha);
    color: var(--deep-navy);
}

.sidebar-section-title {
    color: var(--text-gray);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 24px;
    margin-bottom: 8px;
    padding-left: 12px;
}

.logo-box {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-box img {
    width: 25px;
    padding-right: 4px;
}

.logo-box-img {
    padding: 70px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* --- HEADER & COMMON COMPONENTS --- */
.header-bulb-container {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 203, 255, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(60, 203, 255, 0.2);
}

.header-bulb-gradient {
    background: linear-gradient(to bottom, #ffffff 0%, #3CCBFF 50%, #5A1CFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(90, 28, 255, 0.3));
}

/* AI Assistant */
.ai-assistant {
    background: var(--card-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: calc(100% - 35px) calc(100% - 35px);
    transform: scale(1);
}

.ai-assistant::before,
.ai-assistant::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.15;
    filter: blur(30px);
    z-index: 0;
}

.ai-assistant::before {
    top: -50px;
    left: -50px;
    background: radial-gradient(circle, var(--red-pink) 0%, transparent 70%);
}

.ai-assistant::after {
    bottom: -50px;
    right: -50px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.ai-assistant-bubble {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--card-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(90, 28, 255, 0.3);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(90, 28, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(90, 28, 255, 0);
    }
}

.hidden-assistant {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
    position: absolute !important;
}

.show-bubble {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hide-bubble {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
    position: absolute !important;
}

/* Promo Card & Tinder Swiping Stack */
.promo-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 0;
}

.promo-card {
    background-image: url("../image/promocode.jpg"), linear-gradient(135deg, var(--blue-light) 0%, var(--blue-dark) 100%);
    background-size: cover;
    background-blend-mode: overlay;
    border-top: none !important;
    box-shadow: var(--premium-shadow);
    
    /* Absolute Positioning to stack cards */
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Tinder Dragging and Swiping Properties */
    cursor: grab;
    user-select: none;
    touch-action: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2), opacity 0.4s ease;
    will-change: transform, opacity;
    z-index: 10;
}

.promo-card > * {
    transition: opacity 0.4s ease;
}

.promo-card.dragging {
    cursor: grabbing !important;
    transition: none !important;
}

/* Background Card Styling */
.promo-card-back {
    transform: scale(0.96) translateY(-12px) rotate(0deg);
    opacity: 0.9;
    z-index: 5 !important;
    pointer-events: none !important; /* User can only drag the top card */
    border-top: 4px solid var(--orange) !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2), opacity 0.4s ease;
}

.promo-card-back > * {
    opacity: 0.6;
    pointer-events: none !important;
}

.promo-card-back .z-30,
.promo-card-back .tracking-wide {
    opacity: 0 !important;
}

/* Decorative Bottom Card Styling */
.promo-card-bottom {
    background-image: url("../image/promocode.jpg"), linear-gradient(135deg, var(--blue-light) 0%, var(--blue-dark) 100%);
    background-size: cover;
    background-blend-mode: overlay;
    box-shadow: var(--premium-shadow);
    border-radius: 40px;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0.92) translateY(-24px) rotate(0deg);
    opacity: 0.7;
    z-index: 4 !important;
    pointer-events: none !important;
    border-top: 4px solid var(--red-pink) !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2), opacity 0.4s ease;
}

/* Swipe Overlays */
.swipe-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
    z-index: 40;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.nope-stamp {
    background: rgba(239, 68, 68, 0.95); /* Tailwind Red-500 */
    border: 3px solid white;
}

.like-stamp {
    background: rgba(34, 197, 94, 0.95); /* Tailwind Green-500 */
    border: 3px solid white;
}

/* --- MOBILE NAVIGATION --- */
.mobile-nav-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 105px;
    z-index: 1000;
}

.mobile-nav-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mobile-nav-bg svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 -5px 15px rgba(0, 0, 0, 0.05));
}

.mobile-nav-logo-bubble {
    position: fixed;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 72px;
    background: var(--mobile-nav-bubble-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1010;
    border: 4px solid var(--mobile-nav-bubble-bg);
}

.mobile-nav-logo-bubble img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.mobile-nav-items {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 83px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1005;
    padding: 0 10px;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav-item i {
    font-size: 22px;
}

.mobile-nav-item.active {
    color: var(--text-main);
}

.mobile-nav-item.active i {
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-nav-item span {
    font-size: 10px;
    font-weight: 700;
}

.nav-spacer {
    flex: 1;
}

/* --- PAGE SPECIFIC: INSIGHTS (INDEX) --- */
.score-circle-inner-bg {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #f4fcf6 0%, #ffffff 100%);
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 -2px 6px rgba(255, 255, 255, 0.8), 0 4px 15px rgba(0, 0, 0, 0.03);
    z-index: 0;
}

.wave-fill {
    fill: url(#waveGradientFixed);
    stroke: none;
    transition: d 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wave-top-stroke {
    fill: none;
    stroke: url(#waveStrokeGradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: d 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-label-bg {
    position: absolute;
    width: 44px;
    height: 44px;
    background: var(--text-white);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    box-shadow: var(--small-shadow);
    border: 1px solid var(--border-light);
    pointer-events: none;
}

.chart-label-item {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.footprint-btn-active,
button[id^="btn-"]:hover {
    background: linear-gradient(to right, var(--accent-blue-bg), var(--accent-purple-bg)) !important;
    color: var(--text-main) !important;
    box-shadow: 0 2px 8px rgba(90, 28, 255, 0.08);
}

.last-30-days-box1 {
    background-color: var(--orange-bg);
    box-shadow: inset 0px 2px 10px rgba(255, 255, 255, 0.8);
}

.last-30-days-box2 {
    background-color: var(--green-bg);
    box-shadow: inset 0px 2px 10px rgba(255, 255, 255, 0.8);
}

.last-30-days-box3 {
    background-color: var(--blue-bg);
    box-shadow: inset 0px 2px 10px rgba(255, 255, 255, 0.8);
}

#notification {
    background: linear-gradient(to bottom, var(--accent-blue-bg), var(--accent-purple-bg)) !important;
}

#summary-toggle {
    background: var(--toggle-off);
    box-shadow: inset 0 0 11px rgba(255, 255, 255, 1.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#summary-toggle.is-on {
    background: linear-gradient(to bottom, var(--accent-blue-alt), var(--accent-purple)) !important;
}

.info-btn-premium {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1.5px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.info-btn-premium i {
    font-size: 10px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* --- PAGE SPECIFIC: DATA MAP & REQUESTS --- */
.search-pill {
    background: var(--white-90);
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.gradient-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    box-shadow: 0 4px 12px rgba(90, 28, 255, 0.2);
    transition: transform 0.2s;
}

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

.risk-pill {
    background: var(--white-90);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.risk-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.risk-pill.active {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.scan-banner-bg {
    background: linear-gradient(90deg, rgba(60, 203, 255, 0.1) 0%, rgba(90, 28, 255, 0.05) 100%);
}

.risk-pill-icon {
    width: 22px;
    height: 22px;
    background: #FF3091;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.risk-pill-icon.risk-medium {
    background: #FF9800;
}

.risk-pill-icon.risk-low {
    background: #4CAF50;
}

.risk-pill-bg {
    background: #FFE4ED;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.risk-pill-bg.risk-medium {
    background: #FFF3E0;
}

.risk-pill-bg.risk-low {
    background: #E8F5E9;
}

.company-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

/* --- PAGE SPECIFIC: REQUESTS LEDGER --- */
.status-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-weight: 500;
    border: 1px solid transparent;
}

.status-tab i {
    font-size: 18px;
    color: #94A3B8;
}

.status-tab.active {
    background: #F0F7FF;
    color: #2F61FF;
    font-weight: 700;
}

.status-tab.active i {
    color: #2F61FF;
}

/* Progress Rings */
.progress-circle {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle svg {
    width: 56px;
    height: 56px;
    transform: rotate(-90deg);
}

.progress-circle circle {
    fill: none;
    stroke-width: 3.5;
    stroke-linecap: round;
}

.progress-circle .ring-bg {
    stroke: #F1F5F9;
}

.progress-circle .ring-fill {
    stroke-dasharray: 100;
    stroke-dashoffset: 25;
    transition: stroke-dashoffset 0.8s ease-out;
}

.progress-circle .ring-fill.red {
    stroke: #FF3B30;
}

.progress-circle .ring-fill.orange {
    stroke: #FF9500;
}

.progress-circle .ring-fill.green {
    stroke: #34C759;
}

.progress-text {
    position: absolute;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-main);
}

/* --- PAGE SPECIFIC: VAULT --- */
.vault-inner-card {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-top: 14px;
}

.vault-toggle {
    background: var(--toggle-off);
    box-shadow: inset 0 0 11px rgba(255, 255, 255, 1.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 82px;
    height: 32px;
    border-radius: 999px;
    padding: 4px;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: none;
}

.vault-toggle.is-on {
    background: linear-gradient(to bottom, var(--accent-blue-alt), var(--accent-purple)) !important;
}

.vault-toggle-dot {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.vault-toggle.is-on .vault-toggle-dot {
    transform: translateX(50px);
}

.vault-toggle-text {
    position: absolute;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: all 0.4s ease;
    width: 100%;
    left: 0;
    text-align: center;
    z-index: 1;
    pointer-events: none;
}

.vault-toggle:not(.is-on) .vault-toggle-text {
    color: #64748b;
    padding-left: 24px;
}

.vault-toggle.is-on .vault-toggle-text {
    color: white;
    padding-right: 24px;
}

.vault-progress-bg {
    height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.vault-progress-fill {
    height: 100%;
    background: linear-gradient(to right, #3CCBFF, #5A1CFF);
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.vault-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.dot.success {
    background: #19A05A;
}

.vault-badge.success {
    background: #19A05A1A;
    color: #19A05A;
}

.vault-badge.error {
    background: #FF30911A;
    color: #FF3091;
}

.dot.error {
    background: #FF3091;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* --- FAQ PAGE STYLES --- */
.faq-container {
    margin: 0 auto;
    padding-bottom: 120px;
}

.faq-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: 20px;
}

.back-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white-90);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    box-shadow: var(--small-shadow);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: scale(1.05);
    background: white;
}

.header-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-icon-badge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9ff 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(90, 28, 255, 0.05);
}

.faq-icon-badge span {
    font-size: 18px;
}

.header-title-box h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-column {
    display: contents;
    gap: 16px;
    flex: 1;
}

.faq-item {
    background: var(--card-glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--premium-shadow);
    overflow: hidden;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.65);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 25px 50px rgba(31, 38, 135, 0.12);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(60, 203, 255, 0.1), var(--premium-shadow);
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.question-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.question-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: #4f46e5;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.question-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    transition: all 0.3s ease;
}

.faq-item.active .question-text {
    color: var(--accent-purple);
}

.chevron-box {
    width: 44px;
    height: 44px;
    background: var(--white-90);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
}

.faq-item.active .chevron-box {
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
}

.faq-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.faq-item.active .faq-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.answer-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 400;
}

/* --- REQUEST DETAILS MODAL --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 9999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, backdrop-filter 0.5s ease, -webkit-backdrop-filter 0.5s ease, visibility 0.5s ease;
}

.modal-overlay.show,
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.modal-content {
    width: 100%;
    max-width: 480px;
    background: var(--white-90);
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    transform: scale(0.85) translateY(40px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    max-height: 90vh;
    overflow-y: auto;
    opacity: 0;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.modal-content::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 30px 30px 20px 30px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    border-bottom: 1px solid rgba(13, 8, 68, 0.05);
}

.modal-logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.modal-title-box h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.modal-title-box p {
    font-size: 14px;
    font-weight: 500;
    color: #7C7E9E;
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13, 8, 68, 0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7C7E9E;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(13, 8, 68, 0.1);
    transform: rotate(90deg);
}

.status-badge-inline {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge-inline.in-progress {
    background: rgba(255, 149, 0, 0.1);
    color: #FF9500;
}

.status-badge-inline.completed {
    background: rgba(52, 199, 89, 0.1);
    color: #34C759;
}

.status-badge-inline.open {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

/* Timeline */
.timeline-container {
    position: relative;
    padding-left: 32px;
}

.timeline-line {
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #F1F5F9;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

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

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E2E8F0;
    border: 2px solid white;
    z-index: 10;
}

.timeline-item.active .timeline-dot {
    background: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(60, 203, 255, 0.2);
}

.timeline-item.completed .timeline-dot {
    background: #34C759;
}

.timeline-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.timeline-content p {
    font-size: 13px;
    color: #7C7E9E;
    line-height: 1.5;
}

.timeline-date {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 500;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .modal-content {
        max-width: 100%;
        border-radius: 32px 32px 0 0;
        margin-top: auto;
        transform: translateY(100%);
    }

    .modal-overlay.show .modal-content {
        transform: translateY(0);
    }
}

/* --- REQUEST DETAILS SCREEN (request-details.html) --- */
.page-details-bg {
    background: linear-gradient(180deg, #F9FBFF 0%, #F1F4FF 100%);
    position: relative;
    overflow-x: hidden;
}

.details-close-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    transition: all 0.3s ease;
    border: none;
    z-index: 50;
}

.details-close-btn:hover {
    transform: scale(1.1);
    color: #64748B;
}

.deadline-pill {
    background: #FFF0F0;
    color: #FF3366;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    display: inline-block;
}

/* --- Privacy Sweep Styles (datamapinitiate.html) --- */
.sweep-container {
    width: 100%;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: #E5E7EB;
    border-radius: 100px;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
}

.progress-bar {
    height: 100%;
    width: 45%;
    /* Default start */
    background: linear-gradient(90deg, #4F46E5 0%, #3CCBFF 100%);
    border-radius: 100px;
    transition: width 1s ease-in-out;
}

.sweep-content {
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.sweep-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.sweep-text {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sweep-text b,
.sweep-text strong {
    color: var(--text-main);
    font-weight: 700;
}

.mobile-nav-item.active-nav i {
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-nav-item.active-nav span {
    color: var(--text-main);
}

.mobile-nav-item.active-nav .nav-icon-wrapper {
    width: 40px;
    height: 40px;
    background: rgba(255, 48, 145, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

/* Contrast Boost for labels and category text */
.text-\[\#7C7E9E\],
.text-gray-400,
.text-gray-500 {
    color: #4A4C63 !important;
}

body.dark-mode .text-\[\#7C7E9E\],
body.dark-mode .text-gray-400,
body.dark-mode .text-gray-500 {
    color: #94A3B8 !important;
}

.clean-info-container {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.hash-card {
    background: linear-gradient(135deg, #3CCCFF1A 0%, #5A1CFF1A 100%);
    border: 1px solid white;
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.08);
}

.copy-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.copy-circle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.5);
}

.error-badge {
    background: #FF30911A;
    color: #FF3091;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
}

.response-card {
    background: linear-gradient(135deg, #FFAA2C1A 0%, #FF30911A 100%);
    border: 1px solid white;
    box-shadow: 0 10px 30px rgba(255, 48, 145, 0.08);
}

.btn-view-response {
    background: white !important;
    color: #4A90E2 !important;
    border: 1px solid rgba(74, 144, 226, 0.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border-radius: 12px;
}

.btn-mark-complete {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)) !important;
}

.btn-escalate {
    background: linear-gradient(135deg, var(--orange), var(--red-pink)) !important;
}

.btn-mark-complete,
.btn-escalate {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-timeline-vertical {
    position: relative;
}

.activity-timeline-vertical::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 25px;
    width: 4px;
    background: linear-gradient(176deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    padding-left: 35px;
}

.timeline-step-dot {
    position: absolute;
    left: -6px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: #4285F4;
    border-radius: 50%;
    border: 4px solid white;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(66, 133, 244, 0.3);
}

.timeline-step.completed .timeline-step-dot {
    background: #4285F4;
}

.timeline-step.active .timeline-step-dot {
    background: #4285F4;
    box-shadow: 0 0 12px rgba(66, 133, 244, 0.6);
}

/* --- CHAT PAGE STYLES --- */
.chat-welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.welcome-logo-outer {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(60, 203, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
}

.welcome-logo-outer::before {
    content: '';
    position: absolute;
    inset: 20px;
    background: radial-gradient(circle, rgba(90, 28, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-ring 4s infinite ease-in-out;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.welcome-logo-inner {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.welcome-logo-inner img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.chat-bubble {
    max-width: 85%;
    padding: 16px 20px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.chat-bubble-ai {
    background: var(--card-glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chat-bubble-user {
    background: linear-gradient(135deg, #E6F0FF 0%, #F5F3FF 100%);
    color: var(--text-main);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    box-shadow: 0 4px 15px rgba(90, 28, 255, 0.05);
}

.action-chip {
    background: var(--white-90);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--small-shadow);
    white-space: nowrap;
}

.action-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: white;
}

.action-chip i {
    font-size: 14px;
}

.chat-result-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.risk-summary-box {
    background: linear-gradient(135deg, #FFAA2C1A 0%, #FF30911A 100%);
    border-radius: 24px;
    padding: 16px;
    margin-top: 12px;
}

.chat-warning-banner {
    background: #FFF0F5;
    border-radius: 20px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

/* Chat input section is now handled by flex layout in chat.html */

.chat-input-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 100%;
    margin: 0 auto;
}

.chat-input-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 15px;
    color: var(--text-main);
    font-weight: 500;
}

.chat-input-bar input::placeholder {
    color: #94A3B8;
}

.input-btn-plus {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-size: 18px;
    cursor: pointer;
}

.input-btn-mic {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3CCBFF 0%, #5A1CFF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(90, 28, 255, 0.3);
}

.chat-suggestion-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 4px 16px 4px;
    margin-bottom: 8px;
}

.chat-suggestion-scroll::-webkit-scrollbar {
    display: none;
}

.score-badge {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
}

.risk-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.risk-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.risk-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.risk-count {
    font-weight: 800;
    font-size: 16px;
}

@media (min-width: 1024px) {
    .chat-welcome-container {
        padding-top: 80px;
    }
}

/* --- FILTER MODAL STYLES --- */
.filter-modal-content {
    max-width: 440px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)),
        linear-gradient(90deg, rgba(60, 203, 255, 0.15) 0%, rgba(90, 28, 255, 0.08) 100%) !important;
    backdrop-filter: blur(45px) !important;
    -webkit-backdrop-filter: blur(45px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.filter-modal-content .gradient-btn {
    background: linear-gradient(135deg, var(--orange), var(--red-pink)) !important;
}

.filter-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.filter-pill {
    padding: 8px 18px;
    border-radius: 999px;
    background: #F1F5F9;
    /* Light gray background like image */
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-pill:hover {
    background: #E2E8F0;
    transform: translateY(-1px);
}

.filter-pill.active {
    color: #0F172A;
    background: #ffffff;
    border: 1.5px solid transparent;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, #FFAA2C, #FF3091);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 15px rgba(255, 48, 145, 0.12);
}

body.dark-mode .filter-pill {
    background: rgba(255, 255, 255, 0.05);
    color: #94A3B8;
}

body.dark-mode .filter-pill.active {
    background-image: linear-gradient(#1a1a1a, #1a1a1a), linear-gradient(135deg, #FFAA2C, #FF3091);
    color: white;
}

/* --- CONTACT PAGE STYLES --- */
.contact-page-body {
    background: linear-gradient(180deg, #F8FAFF 0%, #F0F4FF 100%) !important;
}

.ticket-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 180px;
    overflow: hidden;
}

.ticket-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.status-badge-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: #F8FAFF;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.status-badge-pill span {
    font-size: 14px;
    font-weight: 700;
    color: #0D0D26;
}

.status-icon-open {
    color: #5A1CFF;
}

.status-icon-pending {
    color: #5A1CFF;
}

.status-icon-resolved {
    color: #3B82F6;
}

.filter-tab {
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #94A3B8;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: transparent;
}

.filter-tab.active {
    background: #ffffff;
    color: #0D0D26;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-tab.active i {
    color: #5A1CFF;
}

.read-more-link {
    font-weight: 800;
    font-style: italic;
    color: #4A4C63;
    margin-left: 4px;
    transition: color 0.3s ease;
}

a:hover .read-more-link,
.read-more-link:hover {
    color: #3B82F6;
}

.filter-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 5px 25px 5px;
    margin-bottom: 5px;
}

.filter-scroll::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1023px) {
    .contact-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0 25px 0;
    }

    .close-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        color: #94A3B8;
        font-size: 18px;
        border: 1px solid rgba(0, 0, 0, 0.02);
    }

    .plus-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #3CCBFF, #5A1CFF);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        box-shadow: 0 8px 20px rgba(90, 28, 255, 0.3);
        font-size: 20px;
        border: none;
    }

    .contact-title-box {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .contact-title-box h2 {
        font-size: 20px;
        font-weight: 800;
        color: #0D0D26;
        letter-spacing: -0.01em;
    }

    .contact-icon-small {
        width: 36px;
        height: 36px;
        background: linear-gradient(135deg, #E0E7FF, #EEF2FF);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #5A1CFF;
        box-shadow: 0 4px 10px rgba(90, 28, 255, 0.1);
    }
}

@media (min-width: 1024px) {
    .contact-desktop-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 35px;
    }
}


.create-ticket-modal {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.create-ticket-modal::-webkit-scrollbar {
    display: none;
}

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

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #0D0D26;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #94A3B8;
    margin-left: 4px;
}

.form-input {
    background: #F8FAFF;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #0D0D26;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #5A1CFF;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(90, 28, 255, 0.1);
}

.form-textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3CCBFF, #5A1CFF);
    color: white;
    padding: 16px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 16px;
    box-shadow: 0 10px 25px rgba(90, 28, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(90, 28, 255, 0.4);
}

.plus-btn-header {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3CCBFF, #5A1CFF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(90, 28, 255, 0.3);
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* --- SPLASH SCREEN STYLES --- */
.splash-body {
    background-color: var(--splash-bg);
    margin: 0;
    overflow: hidden;
    height: 100dvh;
    width: 100%;
    position: relative;
}

.splash-body .circle {
    position: fixed;
    border-radius: 50%;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 1s ease-in-out;
}

.splash-body .circle-3 {
    width: 120vw;
    height: 120vw;
    background-color: var(--splash-circle-3);
    z-index: 1;
}

.splash-body .circle-2 {
    width: 85vw;
    height: 85vw;
    background-color: var(--splash-circle-2);
    z-index: 2;
}

.splash-body .circle-1 {
    width: 55vw;
    height: 55vw;
    background-color: var(--splash-circle-1);
    z-index: 3;
}

.splash-center {
    position: fixed;
    top: 44%;
    left: 50%;
    z-index: 10;
    width: 280px;
    height: 280px;
    background: var(--splash-center-bg);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    animation: popIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.logo-img-splash {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    animation: float-logo 4s ease-in-out infinite;
}

@keyframes float-logo {

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

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

.brand-text-splash {
    color: var(--splash-text);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pulse-ring-splash {
    position: fixed;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--splash-ring);
    z-index: 5;
    animation: pulseGlowSplash 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseGlowSplash {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.fade-in-delayed-splash {
    opacity: 0;
    animation: fadeInBottomSplash 0.8s ease-out 1.5s forwards;
}

@keyframes fadeInBottomSplash {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.google-btn-splash {
    background-color: #ffffff;
    color: #0d0b21;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.google-btn-splash:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.lang-dropdown-splash {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 12px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 160px;
    max-height: 220px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    padding: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-dropdown-splash.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option-splash {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s;
    color: #717182;
    font-size: 14px;
    font-weight: 500;
}

.lang-option-splash:hover {
    background-color: #F4F6FB;
    color: #0d0b21;
}

.lang-dropdown-splash::-webkit-scrollbar {
    width: 12px;
}

.lang-dropdown-splash::-webkit-scrollbar-track {
    background: transparent;
}

.lang-dropdown-splash::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3CCBFF 0%, #5A1CFF 100%);
    border-radius: 10px;
    border: 4px solid #ffffff;
    background-clip: padding-box;
}

/* --- ONBOARDING STYLES --- */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    background: #f8fafc;
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease-out forwards;
}

.step-content.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.dot {
    width: 8px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    background: linear-gradient(90deg, #FF7E5F, #FEB47B);
    border-radius: 10px;
}

/* Chat bubbles */
.step-content .chat-bubble {
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    position: absolute;
    animation: float 4s ease-in-out infinite;
}

.bubble-orange {
    border-bottom-left-radius: 0px;
}

.bubble-purple {
    border-bottom-right-radius: 0px;
}

@keyframes float {

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

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

.bubble-purple {
    border: 1px solid #C084FC;
    background: rgba(255, 255, 255, 0.9);
    color: #1f235d;
}

.bubble-orange {
    border: 1px solid #FB923C;
    background: rgba(255, 255, 255, 0.9);
    color: #1f235d;
}

.btn-gradient {
    background: linear-gradient(135deg, #3CCBFF, #5A1CFF);
    box-shadow: 0 10px 25px rgba(90, 28, 255, 0.2);
}

.btn-gradient-orange {
    background: linear-gradient(90deg, #FFAA2C, #FF3091);
    box-shadow: 0 10px 25px rgba(255, 48, 145, 0.2);
}

.pill-identify {
    border: 1.5px solid #1f235d;
}

.pill-delete {
    border: 1.5px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(to right, #FFAA2C, #FF3091);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.pill-protect {
    border: 1.5px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(to right, #3CCBFF, #5A1CFF);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* --- CONSENT FORM REFINEMENTS --- */
.card-registration {
    background: linear-gradient(180deg, rgba(60, 204, 255, 0.1) 0%, rgba(90, 28, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.card-identify {
    background: rgba(255, 170, 44, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.card-dsar {
    background: linear-gradient(90deg, rgba(255, 170, 44, 0.1) 0.02%, rgba(255, 48, 145, 0.1) 99.97%);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Advanced Toggle with Text */
.adv-toggle {
    width: 100px;
    height: 34px;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.4s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    user-select: none;
    overflow: hidden;
}

.adv-toggle .toggle-label {
    width: 100%;
    text-align: center;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.adv-toggle .toggle-thumb {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    position: absolute;
    left: 4px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 20;
}

/* Toggle States */
.toggle-blue {
    background: linear-gradient(90deg, #3CCBFF, #5A1CFF);
}

.toggle-purple {
    background: linear-gradient(90deg, #A855F7, #6366F1);
}

.toggle-gray {
    background: #D1D5DB;
    color: #6B7280;
}

.adv-toggle.active .toggle-thumb {
    transform: translateX(66px);
}

.adv-toggle.active .toggle-label {
    transform: translateX(-10px);
}

.adv-toggle:not(.active) .toggle-thumb {
    transform: translateX(0);
}

.adv-toggle:not(.active) .toggle-label {
    transform: translateX(10px);
}

.adv-toggle.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

:root {
    --onboarding-title: #1f235d;
    --onboarding-text: #64748b;
}

#prev-arrow,
#next-arrow {
    background-color: white !important;
    color: #1f235d !important;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #FFAA2C 0.02%, #FF3091 99.97%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.icon-gradient {
    background: linear-gradient(180deg, #3CCCFF 0%, #5A1CFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- BUSINESS DIRECTORY STYLES --- */
.directory-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 40px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 1) inset;
    position: relative;
    overflow: hidden;
}

.directory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.directory-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12);
}

.company-logo-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.risk-badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #FFF1F2;
    color: #E11D48;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    margin: 12px 0;
}

.card-subtext {
    color: #7C7E9E;
    font-size: 12px;
    font-weight: 500;
}

.card-time {
    color: #94A3B8;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin-top: 8px;
}

/* --- BUSINESS PROFILE STYLES --- */
:root {
    --bp-datamap-bg: rgba(255, 170, 44, 0.1);
    --bp-datamap-border: rgba(255, 170, 44, 0.2);
    --bp-contacts-bg: linear-gradient(180deg, rgba(60, 204, 255, 0.1) 0%, rgba(90, 28, 255, 0.1) 100%);
    --bp-contacts-border: rgba(255, 255, 255, 0.4);
    --bp-inset-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 1) inset;
    --bp-icon-bg: white;
}

.business-badge {
    background: white;
    border: 1px solid var(--border-light);
    padding: 6px 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: var(--small-shadow);
}

.secure-badge-v2 {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.icon-box-blue {
    width: 44px;
    height: 44px;
    background: rgba(60, 203, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-light);
    font-size: 18px;
}

.icon-box-purple {
    width: 44px;
    height: 44px;
    background: rgba(90, 28, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
    font-size: 18px;
}

.profile-btn-outline {
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--orange);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.profile-btn-outline:hover {
    background: var(--orange-bg);
    border-color: var(--orange);
}

.profile-btn-secondary {
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    background: #F0F2FF;
    color: #006AEE;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.profile-btn-secondary:hover {
    background: #E0E4FF;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    font-size: 18px;
    color: #006AEE;
}

.logo-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.logo-container i {
    font-size: 100px;
    color: #1877F2;
}

.usflag {
    width: 20px;
}

.glass-pill-btn {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: var(--bp-inset-shadow);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-pill-btn:hover {
    box-shadow: var(--bp-inset-shadow), 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.7);
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

.toggle-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- USER PROFILE PAGE STYLES --- */
.user-profile-body {
    background: radial-gradient(circle at 80% 10%, rgba(255, 230, 240, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 20% 60%, rgba(230, 242, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(245, 230, 255, 0.35) 0%, transparent 45%),
        linear-gradient(135deg, #f8fafc 0%, #eef3ff 50%, #faf6ff 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    overscroll-behavior: none;
}

.user-profile-body .page-background-base,
.user-profile-body .page-frosted-overlay {
    display: none !important;
}

.profile-edit-settings-pill {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--small-shadow);
}

.deadline-alert-banner {
    background: linear-gradient(135deg, rgba(255, 48, 145, 0.08) 0%, rgba(255, 170, 44, 0.08) 100%);
    border: 1px solid rgba(255, 48, 145, 0.15);
    box-shadow: 0 4px 15px rgba(255, 48, 145, 0.04);
    transition: all 0.3s ease;
}

.deadline-alert-banner span {
    color: inherit !important;
}

.deadline-alert-banner span.alert-text {
    color: #1f235d !important;
}

.deadline-alert-banner h4,
.deadline-alert-banner p {
    color: #1f235d !important;
}

.deadline-alert-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 48, 145, 0.08);
}

.badges-container-card {
    background: var(--card-glass-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 32px !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    box-shadow: var(--premium-shadow) !important;
}

.activity-container-card {
    background: var(--card-glass-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 32px !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    box-shadow: var(--premium-shadow) !important;
}

.badge-card {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.profile-btn-blue {
    background: linear-gradient(90deg, #3CCBFF 0%, #5A1CFF 100%);
    box-shadow: 0 8px 20px rgba(90, 28, 255, 0.2);
    transition: all 0.3s ease;
}

.profile-btn-blue:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(90, 28, 255, 0.3);
}

.profile-btn-orange {
    background: linear-gradient(90deg, #FFAA2C 0%, #FF3091 100%);
    box-shadow: 0 8px 20px rgba(255, 48, 145, 0.25);
    transition: all 0.3s ease;
}

.profile-btn-orange:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 48, 145, 0.35);
}

.profile-btn-white {
    background: #ffffff;
    color: #5A1CFF;
    border: 1px solid rgba(90, 28, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.profile-btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(90, 28, 255, 0.08);
}

.secure-badge-green {
    background: rgba(75, 195, 15, 0.12);
    border: 1px solid rgba(75, 195, 15, 0.25);
    color: #4BC30F;
}

.profile-edit-settings-pill a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-edit-settings-pill a svg {
    stroke: #000000 !important;
    transition: stroke 0.3s ease, transform 0.2s ease;
}

.profile-edit-settings-pill a:hover svg {
    stroke: url(#hoverBlueGradient) !important;
    transform: scale(1.1);
}

#edit-profile-modal-overlay {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.modal-content {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.modal-content h2 {
    color: #1f235d !important;
}

.modal-label {
    color: #5A1CFF !important;
    font-weight: 700 !important;
}

.modal-input {
    background: #ffffff !important;
    border: 1px solid rgba(31, 35, 93, 0.15) !important;
    color: #1f235d !important;
    transition: all 0.3s ease !important;
}

.modal-input:focus {
    border-color: #5A1CFF !important;
    box-shadow: 0 0 0 3px rgba(90, 28, 255, 0.1) !important;
}

.modal-close-btn {
    background: rgba(31, 35, 93, 0.05) !important;
    color: #1f235d !important;
    transition: all 0.2s ease !important;
}

.modal-close-btn:hover {
    background: rgba(31, 35, 93, 0.1) !important;
}

/* AI Coach Pills */
.coach-pill.active {
    font-weight: 800 !important;
    color: #1f235d !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: transparent !important;
}
.coach-pill.active .active-border {
    opacity: 1 !important;
}

/* --- ACCOUNT SETTINGS PAGE CUSTOM STYLES --- */
.account-settings-body .page-background-base, 
.account-settings-body .page-frosted-overlay, 
.account-settings-body .bg-blur-1, 
.account-settings-body .bg-blur-2, 
.account-settings-body .bg-blur-3 {
    display: none !important;
}

.account-settings-body .glass-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.account-settings-body #account-settings-bg {
    will-change: transform;
    transform: translateZ(0);
}

.account-settings-body #main-content {
    isolation: isolate;
}