        /* Alpha tag - fixed corner badge with high contrast */
        .alpha-tag {
            position: fixed;
            bottom: 16px;
            left: 16px;
            background: #1a1a1a;
            color: #ffffff;
            padding: 6px 14px;
            font-weight: 600;
            font-size: 11px;
            border-radius: 6px;
            text-align: center;
            z-index: 9999;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            border: 1px solid #333;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        .alpha-tag:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        }
        /* Dark mode variant - white outline for visibility */
        .alpha-tag.alpha-tag--dark {
            background: #2a2a2a;
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        }
        @media (max-width: 480px) {
            .alpha-tag { font-size: 10px; padding: 5px 10px; bottom: 12px; left: 12px; }
        }

        .profile-page {
            min-height: 100vh;
            padding-top: 80px;
            background: var(--bg-light);
        }

        .profile-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .profile-header-card {
            /* Glass-Neumorphism card for profile details */
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 24px;
            padding: 48px 32px;
            margin-bottom: 32px;
            box-shadow:
                10px 10px 30px var(--glass-neu-dark, rgba(0, 0, 0, 0.08)),
                -10px -10px 30px var(--glass-neu-light, rgba(255, 255, 255, 0.8)),
                inset 0 2px 2px rgba(255, 255, 255, 0.9),
                inset 0 -1px 1px rgba(0, 0, 0, 0.02);
            text-align: center;
            animation: fadeInUp 0.6s ease;
            position: relative;
            overflow: hidden;
        }

        [data-theme="dark"] .profile-header-card {
            background: rgba(28, 28, 28, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow:
                10px 10px 30px var(--glass-neu-dark, rgba(0, 0, 0, 0.4)),
                -10px -10px 30px var(--glass-neu-light, rgba(50, 50, 50, 0.5)),
                inset 0 2px 2px rgba(255, 255, 255, 0.04);
        }

        /* Jambvant brand accent - subtle gradient top border */
        .profile-header-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #FF8C00 0%, #FFB347 50%, #FF8C00 100%);
            box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
        }

        /* Fade in up animation for smooth entrance */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .profile-avatar-large {
            width: 130px;
            height: 130px;
            border-radius: 50%;
            margin: 0 auto 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 52px;
            font-weight: 700;
            color: white;
            /* Glass-Neumorphism avatar */
            box-shadow:
                8px 8px 20px var(--glass-neu-dark, rgba(0, 0, 0, 0.15)),
                -8px -8px 20px var(--glass-neu-light, rgba(255, 255, 255, 0.8)),
                inset 0 3px 6px rgba(255, 255, 255, 0.3);
            border: 5px solid rgba(255, 255, 255, 0.8);
            transition: all 0.3s ease;
            position: relative;
        }

        .profile-avatar-large:hover {
            transform: scale(1.05);
            box-shadow:
                10px 10px 28px var(--glass-neu-dark, rgba(0, 0, 0, 0.18)),
                -10px -10px 28px var(--glass-neu-light, rgba(255, 255, 255, 0.9)),
                0 8px 24px var(--glass-neu-orange-glow, rgba(255, 140, 0, 0.2)),
                inset 0 3px 6px rgba(255, 255, 255, 0.4);
        }

        [data-theme="dark"] .profile-avatar-large {
            border: 5px solid rgba(255, 255, 255, 0.15);
            box-shadow:
                8px 8px 20px var(--glass-neu-dark, rgba(0, 0, 0, 0.4)),
                -8px -8px 20px var(--glass-neu-light, rgba(50, 50, 50, 0.5)),
                inset 0 3px 6px rgba(255, 255, 255, 0.1);
        }

        .profile-name-large {
            font-size: 36px;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 12px;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .profile-contact-info {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 24px;
            padding-bottom: 24px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
            font-size: 14px;
            color: var(--text-gray);
        }

        .profile-contact-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Basic Info inline in profile card */
        .profile-basic-info-inline {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 12px;
            font-size: 14px;
        }

        .profile-info-inline-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .info-inline-label {
            color: var(--text-gray);
        }

        .info-inline-value {
            color: var(--text-dark);
            font-weight: 500;
        }

        /* ========================================
           YOUR PROFILE STORY SECTION
           Seeker (What You Need) & Provider (What You Offer)
           Glass-Neumorphism Styled
           ======================================== */
        .profile-story-section {
            background: rgba(255, 248, 240, 0.7);
            backdrop-filter: blur(8px) saturate(140%);
            -webkit-backdrop-filter: blur(8px) saturate(140%);
            border-radius: 20px;
            padding: 28px;
            margin-bottom: 28px;
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow:
                6px 6px 18px var(--glass-neu-dark, rgba(0, 0, 0, 0.06)),
                -6px -6px 18px var(--glass-neu-light, rgba(255, 255, 255, 0.8)),
                inset 0 1px 1px rgba(255, 255, 255, 0.7);
        }

        [data-theme="dark"] .profile-story-section {
            background: rgba(35, 30, 25, 0.6);
            border: 1px solid rgba(255, 140, 0, 0.1);
            box-shadow:
                6px 6px 18px var(--glass-neu-dark, rgba(0, 0, 0, 0.35)),
                -6px -6px 18px var(--glass-neu-light, rgba(50, 50, 50, 0.4));
        }

        .profile-story-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-dark);
            margin-bottom: 20px;
        }

        .profile-story-title-icon {
            font-size: 18px;
        }

        .profile-story-cards {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .profile-story-card {
            flex: 1;
            min-width: 200px;
            max-width: 320px;
            /* Glass-Neumorphism story card */
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px) saturate(150%);
            -webkit-backdrop-filter: blur(10px) saturate(150%);
            border-radius: 16px;
            padding: 24px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.6);
            box-shadow:
                5px 5px 15px var(--glass-neu-dark, rgba(0, 0, 0, 0.07)),
                -5px -5px 15px var(--glass-neu-light, rgba(255, 255, 255, 0.9)),
                inset 0 1px 1px rgba(255, 255, 255, 0.8);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }

        .profile-story-card:hover {
            transform: translateY(-4px);
            box-shadow:
                8px 8px 24px var(--glass-neu-dark, rgba(0, 0, 0, 0.1)),
                -8px -8px 24px var(--glass-neu-light, rgba(255, 255, 255, 0.95)),
                inset 0 1px 1px rgba(255, 255, 255, 0.9);
        }

        .profile-story-card.seeker {
            border-left: 4px solid #8B5CF6;
        }

        .profile-story-card.seeker:hover {
            box-shadow:
                8px 8px 24px var(--glass-neu-dark, rgba(0, 0, 0, 0.1)),
                -8px -8px 24px var(--glass-neu-light, rgba(255, 255, 255, 0.95)),
                0 8px 24px var(--glass-neu-purple-glow, rgba(139, 92, 246, 0.15));
        }

        .profile-story-card.provider {
            border-left: 4px solid #10B981;
        }

        .profile-story-card.provider:hover {
            box-shadow:
                8px 8px 24px var(--glass-neu-dark, rgba(0, 0, 0, 0.1)),
                -8px -8px 24px var(--glass-neu-light, rgba(255, 255, 255, 0.95)),
                0 8px 24px var(--glass-neu-green-glow, rgba(16, 185, 129, 0.15));
        }

        [data-theme="dark"] .profile-story-card {
            background: rgba(30, 30, 30, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow:
                5px 5px 15px var(--glass-neu-dark, rgba(0, 0, 0, 0.35)),
                -5px -5px 15px var(--glass-neu-light, rgba(50, 50, 50, 0.4)),
                inset 0 1px 1px rgba(255, 255, 255, 0.03);
        }

        .profile-story-card-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 12px;
        }

        .profile-story-card-icon {
            font-size: 24px;
        }

        .profile-story-card-title {
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .profile-story-card.seeker .profile-story-card-title {
            color: #7C3AED;
        }

        .profile-story-card.provider .profile-story-card-title {
            color: #059669;
        }

        .profile-story-card-subtitle {
            font-size: 12px;
            color: var(--text-gray);
            margin-bottom: 12px;
        }

        .profile-story-card-content {
            font-size: 14px;
            color: var(--text-dark);
            line-height: 1.5;
            min-height: 40px;
        }

        .profile-story-card-content.empty {
            color: var(--text-gray);
            font-style: italic;
        }

        .profile-story-card-count {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: 12px;
            padding: 4px 12px;
            background: var(--bg-light);
            border-radius: 12px;
            font-size: 12px;
            color: var(--text-gray);
        }

        .profile-story-connector {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--text-gray);
            opacity: 0.5;
        }

        @media (max-width: 600px) {
            .profile-story-cards {
                flex-direction: column;
                align-items: center;
            }

            .profile-story-card {
                max-width: 100%;
            }

            .profile-story-connector {
                transform: rotate(90deg);
                margin: 10px 0;
            }
        }

        /* ========================================
           TIER BADGE ENHANCEMENTS
           Glass-Neumorphism tier indicators
           ======================================== */
        .tier-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 15px;
            /* Glass-Neumorphism badge */
            backdrop-filter: blur(8px) saturate(150%);
            -webkit-backdrop-filter: blur(8px) saturate(150%);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow:
                4px 4px 12px var(--glass-neu-dark, rgba(0, 0, 0, 0.15)),
                -4px -4px 12px var(--glass-neu-light, rgba(255, 255, 255, 0.7)),
                inset 0 2px 4px rgba(255, 255, 255, 0.3),
                inset 0 -2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .tier-badge:hover {
            transform: scale(1.05) translateY(-2px);
            box-shadow:
                6px 6px 18px var(--glass-neu-dark, rgba(0, 0, 0, 0.18)),
                -6px -6px 18px var(--glass-neu-light, rgba(255, 255, 255, 0.8)),
                0 6px 20px rgba(255, 140, 0, 0.2),
                inset 0 2px 4px rgba(255, 255, 255, 0.4);
        }

        .tier-bronze {
            background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
            color: white;
        }
        .tier-silver {
            background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
            color: white;
        }
        .tier-gold {
            background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
            color: #1a1a1a;
        }
        .tier-platinum {
            background: linear-gradient(135deg, #E5E4E2 0%, #B4C7D9 100%);
            color: #1a1a1a;
        }

        /* ========================================
           YOUR GROWTH & YOUR IMPACT CARDS
           Side-by-side stat cards
           ======================================== */
        .profile-stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-top: 32px;
            padding-top: 28px;
            border-top: 2px dashed rgba(255, 140, 0, 0.15);
        }

        .profile-stats-card {
            /* Glass-Neumorphism stats card */
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(10px) saturate(150%);
            -webkit-backdrop-filter: blur(10px) saturate(150%);
            border-radius: 18px;
            padding: 24px;
            border: 1px solid rgba(255, 255, 255, 0.6);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            box-shadow:
                6px 6px 18px var(--glass-neu-dark, rgba(0, 0, 0, 0.07)),
                -6px -6px 18px var(--glass-neu-light, rgba(255, 255, 255, 0.9)),
                inset 0 1px 1px rgba(255, 255, 255, 0.8);
        }

        .profile-stats-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 140, 0, 0.2);
            box-shadow:
                8px 8px 26px var(--glass-neu-dark, rgba(0, 0, 0, 0.1)),
                -8px -8px 26px var(--glass-neu-light, rgba(255, 255, 255, 0.95)),
                0 8px 24px var(--glass-neu-orange-glow, rgba(255, 140, 0, 0.12));
        }

        .profile-stats-card.growth:hover {
            box-shadow:
                8px 8px 26px var(--glass-neu-dark, rgba(0, 0, 0, 0.1)),
                -8px -8px 26px var(--glass-neu-light, rgba(255, 255, 255, 0.95)),
                0 8px 24px var(--glass-neu-orange-glow, rgba(255, 140, 0, 0.15));
        }

        .profile-stats-card.impact:hover {
            box-shadow:
                8px 8px 26px var(--glass-neu-dark, rgba(0, 0, 0, 0.1)),
                -8px -8px 26px var(--glass-neu-light, rgba(255, 255, 255, 0.95)),
                0 8px 24px var(--glass-neu-green-glow, rgba(16, 185, 129, 0.15));
        }

        [data-theme="dark"] .profile-stats-card {
            background: rgba(30, 30, 30, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow:
                6px 6px 18px var(--glass-neu-dark, rgba(0, 0, 0, 0.35)),
                -6px -6px 18px var(--glass-neu-light, rgba(50, 50, 50, 0.4)),
                inset 0 1px 1px rgba(255, 255, 255, 0.03);
        }

        .profile-stats-card-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }

        .profile-stats-card-icon {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.08) 0%, rgba(255, 179, 71, 0.12) 100%);
            border-radius: 8px;
            flex-shrink: 0;
        }

        .profile-stats-card.growth .profile-stats-card-icon {
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 179, 71, 0.15) 100%);
        }

        .profile-stats-card.impact .profile-stats-card-icon {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.15) 100%);
        }

        .profile-stats-card-title {
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .profile-stats-card.growth .profile-stats-card-title {
            color: #E07B00;
        }

        .profile-stats-card.impact .profile-stats-card-title {
            color: #10B981;
        }

        .profile-stats-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid var(--border-color);
            transition: background 0.2s ease;
        }

        .profile-stats-row:hover {
            background: var(--bg-light);
            border-radius: 6px;
            padding-left: 8px;
            padding-right: 8px;
        }

        .profile-stats-row:last-child {
            border-bottom: none;
        }

        .profile-stats-label {
            font-size: 13px;
            color: var(--text-gray);
        }

        .profile-stats-value {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .profile-stats-value.tier {
            color: #E07B00;
        }

        .profile-tier-progress {
            margin-top: 8px;
        }

        .profile-tier-progress-bar {
            width: 100%;
            height: 8px;
            background: linear-gradient(90deg, rgba(255, 140, 0, 0.12) 0%, rgba(255, 179, 71, 0.12) 100%);
            border-radius: 4px;
            overflow: hidden;
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .profile-tier-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #FF8C00 0%, #FFB347 50%, #FF8C00 100%);
            background-size: 200% 100%;
            border-radius: 4px;
            transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
            animation: shimmerProgress 2s ease-in-out infinite;
        }

        @keyframes shimmerProgress {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .profile-tier-progress-text {
            font-size: 11px;
            color: var(--text-gray);
            margin-top: 4px;
        }

        /* ========================================
           TRUST & CREDITS CARD
           Purple/Diamond themed trust system
           ======================================== */
        .profile-stats-card.trust-credits {
            grid-column: span 2;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(168, 85, 247, 0.06) 100%);
        }

        .profile-stats-card.trust-credits:hover {
            box-shadow:
                8px 8px 26px var(--glass-neu-dark, rgba(0, 0, 0, 0.1)),
                -8px -8px 26px var(--glass-neu-light, rgba(255, 255, 255, 0.95)),
                0 8px 24px rgba(139, 92, 246, 0.15);
        }

        .profile-stats-card.trust-credits .profile-stats-card-icon {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(168, 85, 247, 0.2) 100%);
            color: #8B5CF6;
        }

        .profile-stats-card.trust-credits .profile-stats-card-title {
            color: #7C3AED;
            flex: 1;
        }

        .profile-stats-card.trust-credits .profile-stats-card-header {
            position: relative;
        }

        .trust-refresh-btn {
            width: 28px;
            height: 28px;
            border: none;
            background: rgba(139, 92, 246, 0.1);
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #8B5CF6;
            transition: all 0.2s ease;
        }

        .trust-refresh-btn:hover {
            background: rgba(139, 92, 246, 0.2);
            transform: scale(1.05);
        }

        .trust-refresh-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .trust-refresh-btn.spinning svg {
            animation: spin 0.8s linear infinite;
        }

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

        .profile-stats-value.trust-score {
            font-size: 24px;
            font-weight: 800;
            background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .profile-trust-tier-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 12px 0 8px;
        }

        .trust-tier-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: white;
            background: #CD7F32;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .trust-tier-badge.tier-bronze { background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%); }
        .trust-tier-badge.tier-silver { background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%); color: #333; }
        .trust-tier-badge.tier-gold { background: linear-gradient(135deg, #FFD700 0%, #FFC000 100%); color: #333; }
        .trust-tier-badge.tier-platinum { background: linear-gradient(135deg, #E5E4E2 0%, #D0D0D0 100%); color: #333; }
        .trust-tier-badge.tier-emerald { background: linear-gradient(135deg, #50C878 0%, #3CB371 100%); }
        .trust-tier-badge.tier-diamond { background: linear-gradient(135deg, #B9F2FF 0%, #87CEEB 100%); color: #333; }

        .trust-tier-progress-text {
            font-size: 11px;
            color: var(--text-gray);
        }

        .profile-trust-progress {
            margin-bottom: 12px;
        }

        .profile-trust-progress-bar {
            width: 100%;
            height: 6px;
            background: linear-gradient(90deg, rgba(139, 92, 246, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
            border-radius: 3px;
            overflow: hidden;
            box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        .profile-trust-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #8B5CF6 0%, #A855F7 50%, #8B5CF6 100%);
            background-size: 200% 100%;
            border-radius: 3px;
            transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 0 6px rgba(139, 92, 246, 0.4);
            animation: shimmerTrustProgress 2s ease-in-out infinite;
        }

        @keyframes shimmerTrustProgress {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .profile-credits-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0 0;
            border-top: 1px dashed rgba(139, 92, 246, 0.2);
            margin-top: 4px;
        }

        .profile-credits-row .profile-stats-label {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .credits-icon {
            font-size: 14px;
        }

        .profile-stats-value.credits {
            font-size: 20px;
            font-weight: 800;
            color: #8B5CF6;
        }

        /* Credits notification toast */
        .credits-notification {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
            color: white;
            padding: 12px 24px;
            border-radius: 24px;
            font-weight: 600;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
            z-index: 10000;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .credits-notification.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .credits-notification .credits-icon {
            font-size: 18px;
        }

        /* Dark mode support */
        [data-theme="dark"] .profile-stats-card.trust-credits {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(168, 85, 247, 0.12) 100%);
        }

        [data-theme="dark"] .trust-refresh-btn {
            background: rgba(139, 92, 246, 0.2);
        }

        [data-theme="dark"] .trust-refresh-btn:hover {
            background: rgba(139, 92, 246, 0.3);
        }

        [data-theme="dark"] .profile-trust-progress-bar {
            background: linear-gradient(90deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
        }

        [data-theme="dark"] .profile-credits-row {
            border-top-color: rgba(139, 92, 246, 0.3);
        }

        @media (max-width: 600px) {
            .profile-stats-grid {
                grid-template-columns: 1fr;
            }

            .profile-stats-card.trust-credits {
                grid-column: span 1;
            }
        }

        /* ========================================
           LOADING STATES & SKELETONS
           Smooth loading placeholders
           ======================================== */
        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            border-radius: 4px;
        }

        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* ========================================
           ENHANCED EMPTY STATES
           Engaging empty state designs
           ======================================== */
        .profile-story-card-content.empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            padding: 20px;
        }

        .empty-state-icon {
            font-size: 48px;
            opacity: 0.3;
        }

        .empty-state-cta {
            margin-top: 8px;
            padding: 8px 16px;
            background: var(--primary-purple, #FF8C00);
            color: white;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
        }

        .empty-state-cta:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
        }

        /* Enhanced Bio Section - Modern, Gen Z Friendly */
        .profile-bio-container {
            position: relative;
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.04) 0%, rgba(255, 179, 71, 0.06) 100%);
            border: 1.5px solid rgba(255, 140, 0, 0.18);
            border-radius: 16px;
            padding: 24px 28px;
            margin: 28px 0;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 2px 12px rgba(255, 140, 0, 0.08);
        }

        .profile-bio-container::before {
            content: '"';
            position: absolute;
            top: 8px;
            left: 16px;
            font-size: 48px;
            font-family: Georgia, serif;
            color: rgba(124, 58, 237, 0.15);
            line-height: 1;
        }

        .profile-bio-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: #E07B00;
            margin-bottom: 12px;
        }

        .profile-bio-label-icon {
            width: 20px;
            height: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 179, 71, 0.15) 100%);
            border-radius: 4px;
        }

        .profile-bio-large {
            font-size: 16px;
            color: var(--text-dark);
            line-height: 1.7;
            margin: 0;
            position: relative;
            z-index: 1;
        }

        .profile-bio-large a {
            color: var(--primary-purple, #7c3aed);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .profile-bio-large a:hover {
            color: var(--primary-purple-dark, #6d28d9);
            text-decoration: underline;
        }

        .profile-bio-large .bio-hashtag {
            display: inline-block;
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
            color: var(--primary-purple, #7c3aed);
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
            margin: 2px 2px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .profile-bio-large .bio-hashtag:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
        }

        .profile-bio-large .bio-emoji {
            font-size: 18px;
            vertical-align: middle;
        }

        .profile-bio-empty {
            color: var(--text-gray);
            font-style: italic;
        }

        /* Dark mode adjustments for bio */
        [data-theme="dark"] .profile-bio-container {
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.12) 0%, rgba(255, 179, 71, 0.1) 100%);
            border-color: rgba(255, 140, 0, 0.3);
        }

        [data-theme="dark"] .profile-bio-container::before {
            color: rgba(255, 140, 0, 0.2);
        }

        /* AI-Generated Profile Summary Section */
        .profile-ai-summary-container {
            position: relative;
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(167, 139, 250, 0.06) 100%);
            border: 1.5px solid rgba(124, 58, 237, 0.18);
            border-radius: 16px;
            padding: 20px 24px;
            margin: 16px 0 24px 0;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 2px 12px rgba(124, 58, 237, 0.08);
        }

        .profile-ai-summary-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }

        .profile-ai-summary-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            color: #7c3aed;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .profile-ai-summary-icon {
            display: flex;
            align-items: center;
            color: #7c3aed;
        }

        .ai-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #7c3aed, #a78bfa);
            color: white;
            font-size: 9px;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .profile-ai-summary-refresh {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border: none;
            background: rgba(124, 58, 237, 0.1);
            border-radius: 8px;
            color: #7c3aed;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .profile-ai-summary-refresh:hover {
            background: rgba(124, 58, 237, 0.2);
            transform: rotate(90deg);
        }

        .profile-ai-summary-refresh:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .profile-ai-summary-refresh.spinning {
            animation: spin 1s linear infinite;
        }

        .profile-ai-summary-refresh.spinning:hover {
            transform: none;
        }

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

        .profile-ai-summary-content {
            position: relative;
        }

        .profile-ai-summary-text,
        .profile-ai-summary-text-hi {
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-dark);
            margin: 0;
            font-style: italic;
        }

        .profile-ai-summary-text-hi {
            font-family: 'Noto Sans Devanagari', sans-serif;
        }

        .profile-ai-summary-toggle {
            margin-top: 12px;
            text-align: right;
        }

        .ai-summary-lang-toggle {
            background: none;
            border: 1px solid rgba(124, 58, 237, 0.3);
            color: #7c3aed;
            font-size: 12px;
            padding: 4px 10px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .ai-summary-lang-toggle:hover {
            background: rgba(124, 58, 237, 0.1);
            border-color: rgba(124, 58, 237, 0.5);
        }

        .profile-ai-summary-meta {
            margin-top: 10px;
            font-size: 11px;
            color: var(--text-gray);
        }

        .ai-summary-generated-at {
            opacity: 0.7;
        }

        .profile-ai-summary-empty {
            text-align: center;
            padding: 16px;
        }

        .profile-ai-summary-empty p {
            margin: 0 0 12px 0;
            color: var(--text-gray);
            font-size: 14px;
        }

        #generateAiSummaryBtn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        /* Dark mode for AI summary */
        [data-theme="dark"] .profile-ai-summary-container {
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(167, 139, 250, 0.1) 100%);
            border-color: rgba(124, 58, 237, 0.3);
        }

        [data-theme="dark"] .profile-ai-summary-label {
            color: #a78bfa;
        }

        [data-theme="dark"] .profile-ai-summary-icon {
            color: #a78bfa;
        }

        [data-theme="dark"] .profile-ai-summary-refresh {
            background: rgba(124, 58, 237, 0.2);
            color: #a78bfa;
        }

        [data-theme="dark"] .ai-summary-lang-toggle {
            color: #a78bfa;
            border-color: rgba(124, 58, 237, 0.4);
        }

        /* Next Steps Guidance Section */
        .profile-next-steps {
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 12px;
            padding: 20px 24px;
            margin: 16px 0;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
            position: relative;
            transition: all 0.2s ease;
        }

        .profile-next-steps:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            border-color: rgba(16, 185, 129, 0.2);
        }

        .profile-next-steps::before {
            display: none;
        }

        @keyframes shimmer {
            0%, 100% { opacity: 0.8; }
            50% { opacity: 1; }
        }

        .next-steps-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
            padding-bottom: 14px;
            border-bottom: 1px solid #f0f0f0;
        }

        .next-steps-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
            font-weight: 700;
            color: #1a1a1a;
            margin: 0;
        }

        .next-steps-title-icon {
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.15) 100%);
            border-radius: 6px;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-4px); }
        }

        .next-steps-progress {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 600;
            color: #666;
        }

        .next-steps-progress-bar {
            width: 60px;
            height: 5px;
            background: #f0f0f0;
            border-radius: 10px;
            overflow: hidden;
        }

        .next-steps-progress-fill {
            height: 100%;
            background: #10b981;
            border-radius: 10px;
            transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .next-steps-progress-fill::after {
            display: none;
        }

        @keyframes slide {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .next-steps-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .next-step-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px;
            background: #fafafa;
            border-radius: 10px;
            border: 1px solid transparent;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }

        .next-step-item::before {
            display: none;
        }

        .next-step-item:hover {
            background: #f5f5f5;
            border-color: rgba(16, 185, 129, 0.2);
        }

        .next-step-item.completed {
            background: rgba(16, 185, 129, 0.05);
            border-color: rgba(16, 185, 129, 0.15);
        }

        .next-step-item.completed::before {
            display: none;
        }

        .next-step-item.completed:hover {
            background: rgba(16, 185, 129, 0.08);
        }

        .next-step-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #ffffff;
            border-radius: 10px;
            font-size: 20px;
            flex-shrink: 0;
            border: 1px solid #e5e5e5;
            transition: all 0.2s ease;
        }

        .next-step-item:hover .next-step-icon {
            background: #ffffff;
            border-color: #10b981;
        }

        .next-step-item.completed .next-step-icon {
            background: #10b981;
            border-color: #10b981;
            color: white;
        }

        .next-step-item.completed:hover .next-step-icon {
            background: #059669;
            border-color: #059669;
        }

        .next-step-content {
            flex: 1;
            min-width: 0;
        }

        .next-step-label {
            font-size: 14px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 2px;
            line-height: 1.4;
        }

        .next-step-desc {
            font-size: 12px;
            color: #666;
            line-height: 1.4;
        }

        .next-step-item:hover .next-step-label {
            color: #1a1a1a;
        }

        .next-step-arrow {
            font-size: 14px;
            color: #ccc;
            opacity: 1;
            transition: all 0.2s ease;
        }

        .next-step-item:hover .next-step-arrow {
            color: #10b981;
            transform: translateX(3px);
        }

        .next-step-item.completed .next-step-arrow {
            display: none;
        }

        .next-step-check {
            display: none;
            color: #10b981;
            font-size: 16px;
            font-weight: 700;
        }

        .next-step-item.completed .next-step-check {
            display: block;
        }

        /* In progress state */
        .next-step-item.in-progress {
            border-color: rgba(255, 140, 0, 0.3);
            background: rgba(255, 140, 0, 0.05);
        }

        @keyframes pulse {
            0%, 100% {
                box-shadow: 0 4px 12px rgba(255, 140, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.05);
            }
            50% {
                box-shadow: 0 6px 20px rgba(255, 140, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.05);
            }
        }

        .next-step-item.in-progress::before {
            display: none;
        }

        .next-step-item.in-progress:hover {
            border-color: rgba(255, 140, 0, 0.5);
            background: rgba(255, 140, 0, 0.08);
        }

        .next-step-item.in-progress .next-step-icon {
            background: #FF8C00;
            border-color: #FF8C00;
            color: white;
        }

        @keyframes iconPulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        .next-step-item.in-progress:hover .next-step-icon {
            background: #E07B00;
            border-color: #E07B00;
        }

        .next-step-item.in-progress .next-step-arrow {
            display: none;
        }

        .next-step-progress-icon {
            display: none;
            color: #FF8C00;
            font-size: 16px;
            animation: spin 2s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .next-step-item.in-progress .next-step-progress-icon {
            display: block;
        }

        /* All done state */
        .next-steps-complete {
            text-align: center;
            padding: 32px 24px;
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(52, 211, 153, 0.05) 100%);
            border-radius: 16px;
            border: 2px dashed rgba(16, 185, 129, 0.3);
        }

        .next-steps-complete-icon {
            font-size: 64px;
            margin-bottom: 16px;
            animation: celebrate 1s ease-in-out;
            filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
        }

        @keyframes celebrate {
            0%, 100% { transform: scale(1) rotate(0deg); }
            25% { transform: scale(1.2) rotate(-10deg); }
            50% { transform: scale(1.1) rotate(10deg); }
            75% { transform: scale(1.2) rotate(-5deg); }
        }

        .next-steps-complete-title {
            font-size: 22px;
            font-weight: 800;
            background: linear-gradient(135deg, #059669 0%, #10b981 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
        }

        .next-steps-complete-desc {
            font-size: 15px;
            color: var(--text-gray);
            line-height: 1.6;
        }

        /* Dark mode */
        [data-theme="dark"] .profile-next-steps {
            background: #1f2937;
            border-color: rgba(255, 255, 255, 0.1);
        }

        [data-theme="dark"] .next-step-item {
            background: #111827;
            border-color: transparent;
        }

        [data-theme="dark"] .next-step-item:hover {
            background: #1f2937;
            border-color: rgba(16, 185, 129, 0.3);
        }

        [data-theme="dark"] .next-steps-title {
            color: #f9fafb;
        }

        [data-theme="dark"] .next-step-label {
            color: #f9fafb;
        }

        [data-theme="dark"] .next-step-icon {
            background: #1f2937;
            border-color: #374151;
        }

        [data-theme="dark"] .next-steps-header {
            border-bottom-color: #374151;
        }

        [data-theme="dark"] .next-steps-progress-bar {
            background: #374151;
        }

        /* Dark mode for profile stats cards (YOUR GROWTH & YOUR IMPACT) */
        [data-theme="dark"] .profile-stats-card {
            background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
            border-color: #374151;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .profile-stats-card:hover {
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
            border-color: #FF8C00;
        }

        [data-theme="dark"] .profile-stats-card-icon {
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.15) 0%, rgba(255, 179, 71, 0.2) 100%);
        }

        [data-theme="dark"] .profile-stats-card.growth .profile-stats-card-icon {
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.18) 0%, rgba(255, 179, 71, 0.25) 100%);
        }

        [data-theme="dark"] .profile-stats-card.impact .profile-stats-card-icon {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(52, 211, 153, 0.25) 100%);
        }

        [data-theme="dark"] .profile-stats-row {
            border-bottom-color: #374151;
        }

        [data-theme="dark"] .profile-stats-row:hover {
            background: #1f2937;
        }

        [data-theme="dark"] .profile-tier-progress-bar {
            background: linear-gradient(90deg, rgba(255, 140, 0, 0.2) 0%, rgba(255, 179, 71, 0.2) 100%);
        }

        /* Skills inline in profile card */
        .profile-skills-inline {
            margin: 24px 0;
            padding: 20px 0;
            border-top: 1px dashed rgba(255, 140, 0, 0.15);
            border-bottom: 1px dashed rgba(255, 140, 0, 0.15);
        }

        .profile-skills-list-inline {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
        }

        .profile-skill-tag-inline {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.08) 0%, rgba(255, 179, 71, 0.12) 100%);
            color: var(--text-dark, #333);
            border-radius: 24px;
            font-size: 13px;
            font-weight: 600;
            border: 1.5px solid rgba(255, 140, 0, 0.2);
            transition: all 0.3s ease;
            box-shadow: 0 2px 6px rgba(255, 140, 0, 0.1);
        }

        .profile-skill-tag-inline:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
            border-color: rgba(255, 140, 0, 0.35);
        }

        /* Contributor badge in profile card */
        .profile-contributor-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 24px 0 20px 0;
            padding: 10px 20px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            border-radius: 24px;
            font-size: 14px;
            font-weight: 700;
            box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

        .profile-contributor-badge:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
        }

        .profile-contributor-badge .contributor-icon {
            font-size: 16px;
            filter: brightness(1.2);
        }

        .profile-stats {
            display: flex;
            gap: 32px;
            justify-content: center;
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid var(--border-color);
        }

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

        .profile-stat-number {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary-purple);
            display: block;
        }

        .profile-stat-label {
            font-size: 14px;
            color: var(--text-gray);
            margin-top: 4px;
        }

        /* Tier Badge Tooltip */
        .tier-tooltip-wrapper {
            position: relative;
            cursor: help;
        }

        .tier-tooltip-wrapper:hover .tier-tooltip {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .tier-tooltip {
            position: absolute;
            bottom: calc(100% + 12px);
            left: 50%;
            transform: translateX(-50%) translateY(8px);
            width: 280px;
            background: var(--bg-white, #fff);
            border: 1px solid var(--border-color, #e5e7eb);
            border-radius: 12px;
            padding: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            opacity: 0;
            visibility: hidden;
            transition: all 0.2s ease;
            z-index: 100;
        }

        .tier-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 8px solid transparent;
            border-top-color: var(--bg-white, #fff);
        }

        .tier-tooltip::before {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 9px solid transparent;
            border-top-color: var(--border-color, #e5e7eb);
        }

        .tier-tooltip-title {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tier-tooltip-title-icon {
            font-size: 16px;
        }

        .tier-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .tier-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            background: var(--bg-light, #f9fafb);
            border-radius: 8px;
            font-size: 13px;
        }

        .tier-item.current {
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 179, 71, 0.1) 100%);
            border: 1px solid rgba(255, 140, 0, 0.3);
        }

        .tier-item-badge {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

        .tier-item-badge.bronze { background: linear-gradient(135deg, #CD7F32, #B87333); }
        .tier-item-badge.silver { background: linear-gradient(135deg, #C0C0C0, #A8A8A8); }
        .tier-item-badge.gold { background: linear-gradient(135deg, #FFD700, #FFC107); }
        .tier-item-badge.platinum { background: linear-gradient(135deg, #E5E4E2, #BCC6CC); }

        .tier-item-info {
            flex: 1;
        }

        .tier-item-name {
            font-weight: 600;
            color: var(--text-dark);
        }

        .tier-item-range {
            font-size: 11px;
            color: var(--text-gray);
        }

        .tier-item-current-label {
            font-size: 10px;
            font-weight: 600;
            color: #FF8C00;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Dark mode tooltip */
        [data-theme="dark"] .tier-tooltip {
            background: var(--card-bg, #1f2937);
            border-color: var(--border-color, #374151);
        }

        [data-theme="dark"] .tier-tooltip::after {
            border-top-color: var(--card-bg, #1f2937);
        }

        [data-theme="dark"] .tier-tooltip::before {
            border-top-color: var(--border-color, #374151);
        }

        /* Phone Verification Styles */
        .verification-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            margin-left: 8px;
        }

        .verification-badge.verified {
            background: #d4edda;
            color: #155724;
        }

        .verification-badge.unverified {
            background: #fff3cd;
            color: #856404;
        }

        .profile-verify-link {
            margin-left: 8px;
        }

        .profile-verify-link a {
            color: var(--primary-purple, #FF8C00);
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 179, 71, 0.1) 100%);
            transition: all 0.2s ease;
        }

        .profile-verify-link a:hover {
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.2) 0%, rgba(255, 179, 71, 0.2) 100%);
            transform: translateY(-1px);
        }

        /* Verification Tabs Styles */
        .verification-tab {
            transition: all 0.2s ease;
        }

        .verification-tab.active {
            color: var(--primary-purple, #FF8C00) !important;
            border-bottom: 2px solid var(--primary-purple, #FF8C00);
            margin-bottom: -2px;
        }

        .verification-tab:hover:not(.active) {
            color: var(--text-dark);
            background: var(--bg-light);
        }

        .tab-status {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-left: 6px;
            vertical-align: middle;
        }

        .tab-status.verified {
            background: #10b981;
        }

        .tab-status.unverified {
            background: #f59e0b;
        }

        .verification-alert {
            /* Use the same index-style card as other profile panels */
            background: var(--card-bg);
            border: none;
            border-radius: 16px;
            padding: 20px 22px;
            margin-top: 16px;
            margin-bottom: 28px; /* add space after the box so following text isn't cramped */
            box-shadow: 0 10px 30px rgba(20,20,20,0.06);
            transition: transform 240ms cubic-bezier(.2,.9,.2,1), box-shadow 240ms ease;
            will-change: transform, box-shadow;
            cursor: default;
        }

        .verification-alert-content {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .verification-alert-icon {
            font-size: 28px;
        }

        .verification-alert-text {
            flex: 1;
            min-width: 200px;
        }

        .verification-alert-text strong {
            display: block;
            font-size: 16px;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .verification-alert-text p {
            font-size: 14px;
            color: var(--text-gray);
            margin: 0;
        }

        .btn-sm {
            padding: 8px 16px;
            font-size: 14px;
        }

        /* Subtle verification alert - less prominent styling */
        .verification-alert-subtle {
            background: var(--bg-light, #f8f9fa);
            border: 1px solid var(--border-color, #e0e0e0);
            box-shadow: none;
            padding: 14px 18px;
            margin-top: 12px;
            margin-bottom: 16px;
        }

        .verification-alert-subtle .verification-alert-icon {
            font-size: 22px;
            opacity: 0.8;
        }

        .verification-alert-subtle .verification-alert-text strong {
            font-size: 14px;
            font-weight: 500;
        }

        .verification-alert-subtle .verification-alert-text p {
            font-size: 13px;
        }

        /* Dismiss button for verification alert */
        .verification-alert-dismiss {
            background: transparent;
            border: none;
            color: var(--text-gray, #666);
            font-size: 16px;
            cursor: pointer;
            padding: 4px 8px;
            margin-left: 8px;
            border-radius: 4px;
            opacity: 0.6;
            transition: opacity 0.2s, background 0.2s;
        }

        .verification-alert-dismiss:hover {
            opacity: 1;
            background: rgba(0, 0, 0, 0.05);
        }

        .profile-section {
            /* make section full-bleed horizontally like index page */
            width: 100vw;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
            padding: 24px 0;
            box-sizing: border-box;
        }

        /* Keep inner content constrained and centered */
        .profile-section > * {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
            box-sizing: border-box;
        }

        /* Alternate full-bleed backgrounds between white and the light cream */
        .profile-container > .profile-section:nth-of-type(odd) {
            background: var(--bg-white);
        }
        .profile-container > .profile-section:nth-of-type(even) {
            background: var(--bg-light);
        }

        /* ============================================
           SECTION DIFFERENTIATION STYLES
           Each section has unique visual identity
           ============================================ */

        /* Base styling for all main sections - card-like appearance with separation */
        #profileHelpIntentSection,
        #profileConnectionsSection,
        #profileConnectionDetailsSection,
        #profilePendingRequestsSection,
        #profileInteractionsSection {
            /* Override full-bleed for card appearance */
            width: auto !important;
            max-width: 900px;
            margin-left: auto !important;
            margin-right: auto !important;
            margin-bottom: 32px;
            padding: 32px 28px !important;
            /* Card styling */
            background: var(--bg-white) !important;
            border-radius: 20px;
            position: relative;
            box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.05);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        #profileHelpIntentSection:hover,
        #profileConnectionsSection:hover,
        #profileConnectionDetailsSection:hover,
        #profilePendingRequestsSection:hover,
        #profileInteractionsSection:hover {
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            transform: translateY(-2px);
        }

        /* Remove the inner content max-width constraint since parent is now constrained */
        #profileHelpIntentSection > *,
        #profileConnectionsSection > *,
        #profileConnectionDetailsSection > *,
        #profilePendingRequestsSection > *,
        #profileInteractionsSection > * {
            max-width: none;
            padding: 0;
        }

        /* Add colored top accent bar to each section */
        #profileHelpIntentSection::before,
        #profileConnectionsSection::before,
        #profileConnectionDetailsSection::before,
        #profilePendingRequestsSection::before,
        #profileInteractionsSection::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
        }

        /* Potential Interactions - Purple/Violet accent */
        #profileHelpIntentSection::before {
            background: linear-gradient(90deg, #8B5CF6, #A78BFA);
        }
        #profileHelpIntentSection .profile-section-title {
            color: #7C3AED;
        }

        /* Recommended Providers - Orange accent (primary brand) */
        #profileConnectionsSection::before {
            background: linear-gradient(90deg, #FF8C00, #FFB347);
        }
        #profileConnectionsSection .profile-section-title {
            color: #E07B00;
        }

        /* Pending Requests - Amber/Yellow accent */
        #profilePendingRequestsSection::before {
            background: linear-gradient(90deg, #F59E0B, #FBBF24);
        }
        #profilePendingRequestsSection .profile-section-title {
            color: #D97706;
        }

        /* Connection Details - Teal/Cyan accent */
        #profileConnectionDetailsSection::before {
            background: linear-gradient(90deg, #14B8A6, #2DD4BF);
        }
        #profileConnectionDetailsSection .profile-section-title {
            color: #0D9488;
        }

        /* Interactions - Blue accent */
        #profileInteractionsSection::before {
            background: linear-gradient(90deg, #3B82F6, #60A5FA);
        }
        #profileInteractionsSection .profile-section-title {
            color: #2563EB;
        }

        /* Subtle background tints for each section */
        #profileHelpIntentSection {
            background: linear-gradient(180deg, rgba(139, 92, 246, 0.03) 0%, var(--bg-white) 100%) !important;
        }
        #profileConnectionsSection {
            background: linear-gradient(180deg, rgba(255, 140, 0, 0.03) 0%, var(--bg-white) 100%) !important;
        }
        #profilePendingRequestsSection {
            background: linear-gradient(180deg, rgba(245, 158, 11, 0.03) 0%, var(--bg-white) 100%) !important;
        }
        #profileConnectionDetailsSection {
            background: linear-gradient(180deg, rgba(20, 184, 166, 0.03) 0%, var(--bg-white) 100%) !important;
        }
        #profileInteractionsSection {
            background: linear-gradient(180deg, rgba(59, 130, 246, 0.03) 0%, var(--bg-white) 100%) !important;
        }

        /* Section title enhancements with SVG icons */
        .profile-section-title {
            display: flex;
            align-items: center;
        }

        .profile-section-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            margin-right: 12px;
            border-radius: 8px;
            flex-shrink: 0;
        }

        .profile-section-icon svg {
            width: 16px;
            height: 16px;
            display: block;
            stroke: currentColor;
            fill: none;
        }

        #profileHelpIntentSection .profile-section-icon {
            background: rgba(139, 92, 246, 0.1);
            color: #7C3AED;
        }
        #profileConnectionsSection .profile-section-icon {
            background: rgba(255, 140, 0, 0.1);
            color: #E07B00;
        }
        #profilePendingRequestsSection .profile-section-icon {
            background: rgba(245, 158, 11, 0.1);
            color: #D97706;
        }
        #profileConnectionDetailsSection .profile-section-icon {
            background: rgba(20, 184, 166, 0.1);
            color: #0D9488;
        }
        #profileInteractionsSection .profile-section-icon {
            background: rgba(59, 130, 246, 0.1);
            color: #2563EB;
        }

        /* Ensure inner content areas also have white background */
        #profileConnectionsSection .connections-list,
        #profileApprovedConnectionsSection .approved-connections-list,
        #profilePendingRequestsSection .pending-requests-list {
            background: transparent;
        }

        /* ============================================
           DARK MODE - Profile Section Cards
           ============================================ */
        [data-theme="dark"] #profileHelpIntentSection,
        [data-theme="dark"] #profileConnectionsSection,
        [data-theme="dark"] #profileConnectionDetailsSection,
        [data-theme="dark"] #profilePendingRequestsSection,
        [data-theme="dark"] #profileInteractionsSection {
            background: #1a1a1a !important;
            border-color: #333333;
            box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
        }

        [data-theme="dark"] #profileHelpIntentSection:hover,
        [data-theme="dark"] #profileConnectionsSection:hover,
        [data-theme="dark"] #profileConnectionDetailsSection:hover,
        [data-theme="dark"] #profilePendingRequestsSection:hover,
        [data-theme="dark"] #profileInteractionsSection:hover {
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
        }

        /* Dark mode - Subtle tinted backgrounds for each section */
        [data-theme="dark"] #profileHelpIntentSection {
            background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, #1a1a1a 100%) !important;
        }
        [data-theme="dark"] #profileConnectionsSection {
            background: linear-gradient(180deg, rgba(255, 140, 0, 0.08) 0%, #1a1a1a 100%) !important;
        }
        [data-theme="dark"] #profilePendingRequestsSection {
            background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, #1a1a1a 100%) !important;
        }
        [data-theme="dark"] #profileConnectionDetailsSection {
            background: linear-gradient(180deg, rgba(20, 184, 166, 0.08) 0%, #1a1a1a 100%) !important;
        }
        [data-theme="dark"] #profileInteractionsSection {
            background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, #1a1a1a 100%) !important;
        }

        /* Dark mode - Brighter section title colors for contrast */
        [data-theme="dark"] #profileHelpIntentSection .profile-section-title {
            color: #A78BFA;
        }
        [data-theme="dark"] #profileConnectionsSection .profile-section-title {
            color: #FFB347;
        }
        [data-theme="dark"] #profilePendingRequestsSection .profile-section-title {
            color: #FBBF24;
        }
        [data-theme="dark"] #profileConnectionDetailsSection .profile-section-title {
            color: #2DD4BF;
        }
        [data-theme="dark"] #profileInteractionsSection .profile-section-title {
            color: #60A5FA;
        }

        /* Dark mode - Section icon backgrounds */
        [data-theme="dark"] #profileHelpIntentSection .profile-section-icon {
            background: rgba(139, 92, 246, 0.2);
            color: #A78BFA;
        }
        [data-theme="dark"] #profileConnectionsSection .profile-section-icon {
            background: rgba(255, 140, 0, 0.2);
            color: #FFB347;
        }
        [data-theme="dark"] #profilePendingRequestsSection .profile-section-icon {
            background: rgba(245, 158, 11, 0.2);
            color: #FBBF24;
        }
        [data-theme="dark"] #profileConnectionDetailsSection .profile-section-icon {
            background: rgba(20, 184, 166, 0.2);
            color: #2DD4BF;
        }
        [data-theme="dark"] #profileInteractionsSection .profile-section-icon {
            background: rgba(59, 130, 246, 0.2);
            color: #60A5FA;
        }

        /* Professional SVG icon styling */
        .profile-stats-card-icon svg,
        .interaction-stat-icon svg,
        .next-step-icon svg,
        .profile-empty-icon svg,
        .next-steps-title-icon svg,
        .edit-icon svg,
        .action-icon svg,
        .contributor-icon svg,
        .visitor-settings-icon svg,
        .profile-section-icon svg,
        .profile-bio-label-icon svg,
        .next-step-check svg {
            display: block;
            stroke: currentColor;
            fill: none;
        }

        /* Completed check icon should be filled */
        .next-step-item.completed .next-step-check svg {
            stroke-width: 3;
        }

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

        .profile-section-title {
            font-size: 26px;
            font-weight: 800;
            color: var(--text-dark);
            letter-spacing: -0.5px;
            text-transform: capitalize;
        }

        .profile-edit-btn {
            padding: 8px 20px;
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .profile-edit-btn:hover {
            background: var(--primary);
            color: white;
        }

        /* Profile Action Buttons - 3 Fixed Groups (Top, Middle, Bottom) */

        /* Common button styles - Icon only with tooltip on hover */
        .profile-action-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px;
            font-size: 13px;
            font-weight: 600;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
            border: none;
            width: 48px;
            height: 48px;
            min-width: 48px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        /* Hide text labels - show icon only (tooltips show on hover) */
        .profile-action-btn span:not(.action-icon) {
            display: none;
        }

        .profile-action-btn:hover {
            transform: scale(1.1);
        }

        .profile-action-btn .action-icon {
            font-size: 20px;
            flex-shrink: 0;
        }

        /* Group 1: Top Right - Edit Profile */
        .profile-action-group-top {
            position: fixed;
            right: 24px;
            top: 100px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 999;
            width: auto;
        }

        /* Group 2: Middle Right - Navigation Actions */
        .profile-action-group-middle {
            position: fixed;
            right: 24px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 999;
        }

        /* Group 3: Bottom Right - Communication */
        .profile-action-group-bottom {
            position: fixed;
            right: 24px;
            bottom: 24px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 999;
        }

        /* Scrollable sidebar container for all button groups */
        .profile-sidebar-nav {
            position: fixed;
            right: 0;
            top: 80px;
            bottom: 0;
            width: 80px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20px 16px;
            z-index: 998;
            overflow-y: auto;
            overflow-x: hidden;
            scrollbar-width: thin;
            scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
        }

        .profile-sidebar-nav::-webkit-scrollbar {
            width: 4px;
        }

        .profile-sidebar-nav::-webkit-scrollbar-track {
            background: transparent;
        }

        .profile-sidebar-nav::-webkit-scrollbar-thumb {
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 4px;
        }

        .profile-sidebar-nav::-webkit-scrollbar-thumb:hover {
            background-color: rgba(0, 0, 0, 0.3);
        }

        /* When inside sidebar nav, button groups use relative positioning */
        .profile-sidebar-nav .profile-action-group-top,
        .profile-sidebar-nav .profile-action-group-middle,
        .profile-sidebar-nav .profile-action-group-bottom {
            position: relative;
            right: auto;
            top: auto;
            bottom: auto;
            transform: none;
        }

        .profile-sidebar-nav .profile-action-group-top {
            flex-shrink: 0;
        }

        .profile-sidebar-nav .profile-action-group-middle {
            flex-shrink: 0;
        }

        .profile-sidebar-nav .profile-action-group-bottom {
            flex-shrink: 0;
        }

        /* Button color variants */

        /* Group 1: Top - Soft Warm Amber */
        .profile-action-btn-edit {
            background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
        }

        .profile-action-btn-edit:hover {
            box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
        }

        /* Group 2: Middle - Whitish background with dark text */
        .profile-action-btn-find {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            color: #334155;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.06);
        }

        .profile-action-btn-find:hover {
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
            background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
        }

        .profile-action-btn-pending {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            color: #334155;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.06);
        }

        .profile-action-btn-pending:hover {
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
            background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
        }

        .profile-action-btn-view {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            color: #334155;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.06);
        }

        .profile-action-btn-view:hover {
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
            background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
        }

        .profile-action-btn-interactions {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            color: #334155;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.06);
        }

        .profile-action-btn-interactions:hover {
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
            background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
        }

        /* Dark mode overrides for middle buttons */
        [data-theme="dark"] .profile-action-btn-find,
        [data-theme="dark"] .profile-action-btn-pending,
        [data-theme="dark"] .profile-action-btn-view,
        [data-theme="dark"] .profile-action-btn-interactions {
            background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
            color: #f3f4f6;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .profile-action-btn-find:hover,
        [data-theme="dark"] .profile-action-btn-pending:hover,
        [data-theme="dark"] .profile-action-btn-view:hover,
        [data-theme="dark"] .profile-action-btn-interactions:hover {
            background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
        }

        /* Group 3: Bottom - Fresh Green shades */
        .profile-action-btn-message {
            background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
        }

        .profile-action-btn-message:hover {
            box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35);
            background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
        }

        /* Connection Graph button - Slightly different green shade */
        .profile-action-btn-graph {
            background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
        }

        .profile-action-btn-graph:hover {
            box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
            background: linear-gradient(135deg, #059669 0%, #10b981 100%);
        }

        /* My AI Agent button - Purple/Violet for AI features */
        .profile-action-btn-agent {
            background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
        }

        .profile-action-btn-agent:hover {
            box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
            background: linear-gradient(135deg, #6D28D9 0%, #7C3AED 100%);
        }

        .profile-action-btn-jambvant {
            background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
        }

        .profile-action-btn-jambvant:hover {
            box-shadow: 0 6px 16px rgba(21, 128, 61, 0.35);
            background: linear-gradient(135deg, #166534 0%, #15803d 100%);
        }

        /* Potential Interactions button - Same as Top group (Amber) */
        .profile-action-btn-potential {
            background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
        }

        .profile-action-btn-potential:hover {
            box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
        }

        /* View Profile button (for viewing other profiles) - Same as Top group */
        .profile-action-btn-viewprofile {
            background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
        }

        .profile-action-btn-viewprofile:hover {
            box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
        }

        /* Message User button (with dynamic name) - Same as Bottom group */
        .profile-action-btn-messageuser {
            background: linear-gradient(135deg, #14B8A6 0%, #5EEAD4 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
        }

        .profile-action-btn-messageuser:hover {
            box-shadow: 0 6px 16px rgba(20, 184, 166, 0.3);
        }

        /* Hide old inline buttons and FAB (replaced by groups) */
        .profile-action-buttons,
        .jambvant-chat-fab {
            display: none !important;
        }

        /* Edit Profile Button in Profile Area */
        .profile-edit-btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 28px;
            background: linear-gradient(135deg, #FF8C00 0%, #FFB347 100%);
            color: #fff;
            border: none;
            border-radius: 14px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
            margin: 24px 8px 16px 0;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .profile-edit-btn-primary:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 8px 24px rgba(255, 140, 0, 0.4);
            background: linear-gradient(135deg, #FFB347 0%, #FF8C00 100%);
        }
        .profile-edit-btn-primary .edit-icon {
            font-size: 16px;
            filter: brightness(1.2) contrast(1.1);
        }
        #potentialInteractionBtnPrimary {
            background: linear-gradient(135deg, #14b8a6 0%, #10a397 100%);
            box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
        }
        #potentialInteractionBtnPrimary:hover {
            box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
        }

        .profile-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
            align-items: stretch;
        }

        /* Index-like card style: white panel, subtle shadow, rounded corners */
        .profile-info-item {
            padding: 28px 24px;
            background: var(--card-bg);
            border: none;
            border-radius: 16px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 160px;
            box-sizing: border-box;
            box-shadow: 0 10px 30px rgba(20,20,20,0.06);
            transition: transform 240ms cubic-bezier(.2,.9,.2,1), box-shadow 240ms ease;
            will-change: transform, box-shadow;
            cursor: default;
        }

        .profile-info-item .profile-info-label {
            font-size: 13px;
            text-transform: none;
            color: var(--text-gray);
            margin-bottom: 10px;
        }

        .profile-info-item .profile-info-value {
            font-size: 22px;
            font-weight: 700;
            color: var(--text-dark);
            line-height: 1.1;
        }

        .profile-info-item:hover,
        .profile-info-item:focus-within {
            transform: translateY(-8px);
            box-shadow: 0 18px 40px rgba(20,20,20,0.12);
        }

        .profile-info-item:focus-within {
            outline: 3px solid rgba(255,140,0,0.12);
            outline-offset: 4px;
        }

        .profile-info-label {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-gray);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
        }

        .profile-info-value {
            font-size: 16px;
            color: var(--text-dark);
            font-weight: 500;
        }

        .profile-skills-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 16px;
        }

        .profile-skill-tag {
            padding: 8px 16px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
        }

        .profile-help-intent {
            /* card-style for help intent blocks (match index cards) */
            padding: 24px;
            background: var(--card-bg);
            border-radius: 12px;
            margin-top: 8px;
            box-shadow: 0 10px 30px rgba(20,20,20,0.06);
            transition: transform 240ms cubic-bezier(.2,.9,.2,1), box-shadow 240ms ease;
            will-change: transform, box-shadow;
            min-height: 120px;
        }

        .profile-help-intent-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-gray);
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .profile-help-intent-title-text {
            flex: 1;
        }

        .profile-help-intent-edit-btn {
            padding: 6px 14px;
            border: 2px solid var(--primary-purple);
            border-radius: 20px;
            background: transparent;
            color: var(--primary-purple);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            text-transform: none;
            letter-spacing: normal;
        }

        .profile-help-intent-edit-btn:hover {
            background: var(--primary-purple);
            color: white;
        }

        .profile-help-intent-text {
            font-size: 15px;
            color: var(--text-dark);
            line-height: 1.6;
        }

        .profile-help-intents-grid {
            display: grid;
            /* stacked vertically: one column so the two sections appear one after another */
            grid-template-columns: 1fr;
            gap: 20px;
            align-items: stretch;
            margin-top: 12px;
        }

        .profile-help-intent:hover,
        .profile-help-intent:focus-within {
            transform: translateY(-8px);
            box-shadow: 0 18px 40px rgba(20,20,20,0.12);
        }

        /* Make verification alert pop out on hover/focus like other cards */
        .verification-alert:hover,
        .verification-alert:focus-within {
            transform: translateY(-8px);
            box-shadow: 0 18px 40px rgba(20,20,20,0.12);
        }

        .profile-empty-state {
            text-align: center;
            padding: 40px;
            color: var(--text-gray);
        }

        /* Connections empty state should appear as an index-style card */
        #connectionsEmptyState {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            padding: 28px;
            background: var(--card-bg);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(20,20,20,0.06);
            transition: transform 240ms cubic-bezier(.2,.9,.2,1), box-shadow 240ms ease;
            will-change: transform, box-shadow;
            margin-top: 12px;
            color: var(--text-gray);
        }

        #connectionsEmptyState:hover,
        #connectionsEmptyState:focus-within {
            transform: translateY(-8px);
            box-shadow: 0 18px 40px rgba(20,20,20,0.12);
        }

        .profile-empty-icon {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            margin: 0 auto 16px;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 100%);
            border-radius: 50%;
            opacity: 0.7;
        }

        /* ========================================
           CONNECTION CARDS STYLING
           ======================================== */

        /* Connection Section Header (Recommended / Past Connections) */
        .connection-section-header {
            padding: 20px 24px;
            background: #1f2937;
            border-radius: 12px;
            margin-bottom: 16px;
            box-shadow: 0 4px 12px rgba(20, 20, 20, 0.06);
        }

        .connection-section-header h3 {
            margin: 0;
            font-size: 24px;
            font-weight: 700;
            color: white;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .connection-section-header p {
            margin: 0;
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.5;
        }

        /* Recommended section - simple dark styling matching Approved Connections */
        .connection-section-header.recommended {
            background: #1f2937;
            border: none;
        }

        .connection-section-header.recommended h3 {
            color: white;
        }

        /* Past connections section */
        .connection-section-header.past {
            background: #1f2937;
            border: none;
            margin-top: 32px;
        }

        .connection-section-header.past h3 {
            color: white;
        }

        /* Seeking Message Header - Groups matches by what you need */
        .seeking-message-header {
            display: flex;
            align-items: flex-start;
            gap: 18px;
            padding: 20px 24px;
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border-radius: 12px;
            margin: 28px 0 16px 0;
            border-left: 4px solid var(--primary-purple);
            box-shadow: 0 2px 8px rgba(255, 140, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
        }

        .seeking-message-header:hover {
            box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
            transform: translateY(-1px);
        }

        .seeking-message-header:first-of-type {
            margin-top: 12px;
        }

        .seeking-message-icon {
            font-size: 28px;
            flex-shrink: 0;
            line-height: 1;
        }

        .seeking-message-content {
            flex: 1;
            min-width: 0;
        }

        .seeking-message-label {
            display: block;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            color: #92400e;
            margin-bottom: 6px;
            letter-spacing: 0.5px;
        }

        .seeking-message-text {
            margin: 0;
            font-size: 18px;
            font-weight: 700;
            color: #78350f;
            line-height: 1.5;
        }

        .seeking-message-count {
            flex-shrink: 0;
            padding: 6px 12px;
            background: rgba(255, 140, 0, 0.2);
            border-radius: 20px;
            font-size: 13px;
            font-weight: 700;
            color: var(--primary-purple);
            white-space: nowrap;
        }

        /* Collapse/Expand Toggle Button */
        .seeking-message-toggle {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 140, 0, 0.2);
            border-radius: 50%;
            font-size: 16px;
            color: var(--primary-purple);
            transition: all 0.3s ease;
        }

        .seeking-message-header:hover .seeking-message-toggle {
            background: rgba(255, 140, 0, 0.3);
            transform: scale(1.1);
        }

        .seeking-message-toggle.collapsed {
            transform: rotate(-90deg);
        }

        .seeking-message-header:hover .seeking-message-toggle.collapsed {
            transform: rotate(-90deg) scale(1.1);
        }

        /* Collapsible Content Container */
        .seeking-message-matches {
            max-height: 5000px;
            overflow: hidden;
            transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
            opacity: 1;
            margin-bottom: 0;
        }

        .seeking-message-matches.collapsed {
            max-height: 0;
            opacity: 0;
            margin-bottom: -16px;
        }

        /* Mobile Responsiveness for Seeking Message Section */
        @media (max-width: 768px) {
            .seeking-message-header {
                padding: 16px 18px;
                gap: 12px;
            }

            .seeking-message-icon {
                font-size: 24px;
            }

            .seeking-message-text {
                font-size: 16px;
            }

            .seeking-message-count {
                font-size: 12px;
                padding: 4px 10px;
            }

            .seeking-message-toggle {
                width: 28px;
                height: 28px;
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .seeking-message-header {
                flex-wrap: wrap;
                padding: 14px 16px;
            }

            .seeking-message-content {
                order: 1;
                flex: 1 1 100%;
            }

            .seeking-message-count {
                order: 2;
            }

            .seeking-message-toggle {
                order: 3;
            }

            .seeking-message-text {
                font-size: 15px;
            }
        }

        /* Offer Message Header - Groups approved connections by what you provide */
        .offer-message-header {
            display: flex;
            align-items: flex-start;
            gap: 18px;
            padding: 20px 24px;
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border-radius: 12px;
            margin: 28px 0 16px 0;
            border-left: 4px solid #22c55e;
            box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
        }

        .offer-message-header:hover {
            box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
            transform: translateY(-1px);
        }

        .offer-message-header:first-of-type {
            margin-top: 12px;
        }

        .offer-message-icon {
            font-size: 28px;
            flex-shrink: 0;
            line-height: 1;
        }

        .offer-message-content {
            flex: 1;
            min-width: 0;
        }

        .offer-message-label {
            display: block;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            color: #166534;
            margin-bottom: 6px;
            letter-spacing: 0.5px;
        }

        .offer-message-text {
            margin: 0;
            font-size: 18px;
            font-weight: 700;
            color: #15803d;
            line-height: 1.5;
        }

        .offer-message-count {
            flex-shrink: 0;
            padding: 6px 12px;
            background: rgba(34, 197, 94, 0.2);
            border-radius: 20px;
            font-size: 13px;
            font-weight: 700;
            color: #15803d;
            white-space: nowrap;
        }

        /* Collapse/Expand Toggle Button for Offer Headers */
        .offer-message-toggle {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(34, 197, 94, 0.2);
            border-radius: 50%;
            font-size: 16px;
            color: #15803d;
            transition: all 0.3s ease;
        }

        .offer-message-header:hover .offer-message-toggle {
            background: rgba(34, 197, 94, 0.3);
            transform: scale(1.1);
        }

        .offer-message-toggle.collapsed {
            transform: rotate(-90deg);
        }

        .offer-message-header:hover .offer-message-toggle.collapsed {
            transform: rotate(-90deg) scale(1.1);
        }

        /* Collapsible Content Container for Offers */
        .offer-message-matches {
            max-height: 5000px;
            overflow: hidden;
            transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
            opacity: 1;
            margin-bottom: 0;
        }

        .offer-message-matches.collapsed {
            max-height: 0;
            opacity: 0;
            margin-bottom: -16px;
        }

        /* Mobile Responsiveness for Offer Message Section */
        @media (max-width: 768px) {
            .offer-message-header {
                padding: 16px 18px;
                gap: 12px;
            }

            .offer-message-icon {
                font-size: 24px;
            }

            .offer-message-text {
                font-size: 16px;
            }

            .offer-message-count {
                font-size: 12px;
                padding: 4px 10px;
            }

            .offer-message-toggle {
                width: 28px;
                height: 28px;
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .offer-message-header {
                flex-wrap: wrap;
                padding: 14px 16px;
            }

            .offer-message-content {
                order: 1;
                flex: 1 1 100%;
            }

            .offer-message-count {
                order: 2;
            }

            .offer-message-toggle {
                order: 3;
            }

            .offer-message-text {
                font-size: 15px;
            }
        }

        /* ============================================
           DARK MODE - Seeking & Offer Message Headers
           ============================================ */

        /* Seeking Message (YOU NEED) - Dark mode amber/orange theme */
        [data-theme="dark"] .seeking-message-header {
            background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
            border-left-color: #FFB347;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .seeking-message-header:hover {
            box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
        }

        [data-theme="dark"] .seeking-message-label {
            color: #fbbf24;
        }

        [data-theme="dark"] .seeking-message-text {
            color: #fef3c7;
        }

        [data-theme="dark"] .seeking-message-count {
            background: rgba(255, 179, 71, 0.3);
            color: #fbbf24;
        }

        [data-theme="dark"] .seeking-message-toggle {
            background: rgba(255, 179, 71, 0.3);
            color: #fef3c7;
        }

        [data-theme="dark"] .seeking-message-header:hover .seeking-message-toggle {
            background: rgba(255, 179, 71, 0.5);
        }

        /* Offer Message (YOU PROVIDE) - Dark mode green theme */
        [data-theme="dark"] .offer-message-header {
            background: linear-gradient(135deg, #052e16 0%, #166534 100%);
            border-left-color: #34D399;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .offer-message-header:hover {
            box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
        }

        [data-theme="dark"] .offer-message-label {
            color: #4ade80;
        }

        [data-theme="dark"] .offer-message-text {
            color: #dcfce7;
        }

        [data-theme="dark"] .offer-message-count {
            background: rgba(52, 211, 153, 0.3);
            color: #4ade80;
        }

        [data-theme="dark"] .offer-message-toggle {
            background: rgba(52, 211, 153, 0.3);
            color: #dcfce7;
        }

        [data-theme="dark"] .offer-message-header:hover .offer-message-toggle {
            background: rgba(52, 211, 153, 0.5);
        }

        /* Connection Card - Index-style card with hover effects */
        .connection-card {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 24px;
            background: var(--card-bg);
            border-radius: 16px;
            margin-bottom: 16px;
            box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
            transition: transform 240ms cubic-bezier(.2, .9, .2, 1), box-shadow 240ms ease;
            will-change: transform, box-shadow;
            border: 1px solid transparent;
        }

        .connection-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 40px rgba(20, 20, 20, 0.12);
        }

        /* Match card - has accent border */
        .connection-card.match-card {
            border-left: 4px solid var(--primary-purple);
            background: linear-gradient(to right, rgba(255, 140, 0, 0.02) 0%, var(--card-bg) 100%);
        }

        /* Connection Avatar */
        .connection-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 700;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        /* Connection Info Container */
        .connection-info {
            flex: 1;
            min-width: 0; /* Allow text truncation */
        }

        .connection-name {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .connection-match-score {
            font-size: 13px;
            font-weight: 700;
            color: var(--primary-purple);
            background: rgba(255, 140, 0, 0.1);
            padding: 4px 10px;
            border-radius: 12px;
        }

        .connection-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 12px;
            font-size: 13px;
            color: var(--text-gray);
        }

        /* Segment Tags */
        .segment-tag {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            background: rgba(255, 140, 0, 0.1);
            border-radius: 16px;
            font-size: 12px;
            font-weight: 600;
            color: var(--primary-purple);
            white-space: nowrap;
        }

        /* Location Display */
        .connection-location {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 12px;
            background: rgba(59, 130, 246, 0.1);
            border-radius: 16px;
            font-size: 12px;
            font-weight: 500;
            color: #3b82f6;
            white-space: nowrap;
        }

        .connection-location .location-icon {
            font-size: 12px;
        }

        [data-theme="dark"] .connection-location {
            background: rgba(59, 130, 246, 0.2);
            color: #60a5fa;
        }

        /* Distance Badge */
        .distance-badge {
            display: inline-flex;
            align-items: center;
            margin-left: 6px;
            padding: 2px 8px;
            background: rgba(168, 85, 247, 0.15);
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            color: #9333ea;
            white-space: nowrap;
        }

        .distance-badge::before {
            content: '~';
            margin-right: 2px;
            opacity: 0.7;
        }

        [data-theme="dark"] .distance-badge {
            background: rgba(168, 85, 247, 0.25);
            color: #a78bfa;
        }

        /* Languages Display */
        .connection-languages {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 12px;
            background: rgba(16, 185, 129, 0.1);
            border-radius: 16px;
            font-size: 12px;
            font-weight: 500;
            color: #10b981;
            white-space: nowrap;
        }

        .connection-languages .languages-icon {
            font-size: 12px;
        }

        [data-theme="dark"] .connection-languages {
            background: rgba(16, 185, 129, 0.2);
            color: #34d399;
        }

        /* ========================================
           MATCH FILTER BUTTON & DROPDOWN
           Round button with dropdown popover
           ======================================== */

        /* Section header layout for filter button */
        .section-header-left {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
            cursor: pointer;
        }

        .section-header-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Match Filter Wrapper */
        .match-filter-wrapper {
            position: relative;
        }

        /* Round Filter Button */
        .match-filter-btn {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: linear-gradient(135deg, #FF8C00 0%, #FFB347 100%);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow:
                0 4px 12px rgba(255, 140, 0, 0.25),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
        }

        .match-filter-btn:hover {
            transform: scale(1.08);
            box-shadow:
                0 6px 20px rgba(255, 140, 0, 0.35),
                inset 0 2px 4px rgba(255, 255, 255, 0.4);
        }

        .match-filter-btn:active {
            transform: scale(0.95);
        }

        .match-filter-btn.active {
            background: linear-gradient(135deg, #FF6B00 0%, #FF8C00 100%);
            box-shadow:
                0 2px 8px rgba(255, 140, 0, 0.3),
                inset 0 -2px 4px rgba(0, 0, 0, 0.1);
        }

        .match-filter-btn .filter-icon {
            line-height: 1;
        }

        /* Filter Dropdown Popover */
        .match-filter-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            width: 320px;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 16px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            box-shadow:
                0 10px 40px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.08);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px) scale(0.95);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .match-filter-dropdown.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        [data-theme="dark"] .match-filter-dropdown {
            background: rgba(30, 30, 30, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow:
                0 10px 40px rgba(0, 0, 0, 0.5),
                0 4px 12px rgba(0, 0, 0, 0.3);
        }

        /* Dropdown Header */
        .filter-dropdown-header {
            padding: 16px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        [data-theme="dark"] .filter-dropdown-header {
            border-bottom-color: rgba(255, 255, 255, 0.08);
        }

        .filter-dropdown-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-dark);
        }

        .filter-dropdown-title::before {
            content: '🎯 ';
        }

        /* Dropdown Content */
        .filter-dropdown-content {
            padding: 16px 20px;
        }

        .filter-group {
            margin-bottom: 16px;
        }

        .filter-group:last-of-type {
            margin-bottom: 20px;
        }

        .filter-label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .filter-select {
            width: 100%;
            padding: 10px 14px;
            font-size: 14px;
            border-radius: 10px;
            border: 1px solid rgba(0, 0, 0, 0.1);
            background: var(--bg-light);
            color: var(--text-dark);
            cursor: pointer;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .filter-select:focus {
            outline: none;
            border-color: #FF8C00;
            box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
        }

        .filter-hint {
            display: block;
            font-size: 11px;
            color: var(--text-gray);
            margin-top: 6px;
        }

        /* Apply Button */
        .filter-apply-btn {
            width: 100%;
            padding: 12px 20px;
            font-size: 14px;
            font-weight: 600;
            border-radius: 10px;
            background: linear-gradient(135deg, #FF8C00 0%, #FFB347 100%);
            border: none;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
        }

        .filter-apply-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(255, 140, 0, 0.35);
        }

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

        /* Mobile responsiveness for filter dropdown */
        @media (max-width: 480px) {
            .match-filter-dropdown {
                width: calc(100vw - 40px);
                right: -10px;
            }

            .match-filter-btn {
                width: 38px;
                height: 38px;
                font-size: 16px;
            }
        }

        /* ========================================
           SIDEBAR FILTER BUTTON & DROPDOWN
           Filter button in right sidebar
           ======================================== */

        .sidebar-filter-wrapper {
            position: relative;
        }

        /* Filter button styling for sidebar - medium blue (lighter than before, darker than other buttons) */
        .profile-action-btn-filter {
            background: linear-gradient(135deg, #4a7cb5 0%, #6a9fd4 100%) !important;
            border: none !important;
        }

        .profile-action-btn-filter:hover {
            background: linear-gradient(135deg, #3d6d9e 0%, #5a8fc4 100%) !important;
            transform: scale(1.05);
        }

        .profile-action-btn-filter.active {
            background: linear-gradient(135deg, #3d6d9e 0%, #5a8fc4 100%) !important;
            box-shadow: 0 0 0 3px rgba(74, 124, 181, 0.4);
        }

        /* Hide tooltip when dropdown is open */
        .sidebar-filter-wrapper:has(.sidebar-filter-dropdown.show) .sidebar-btn-tooltip {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
        }

        /* Sidebar Filter Dropdown - positioned to the left of sidebar using fixed positioning */
        .sidebar-filter-dropdown {
            position: fixed;
            top: 50%;
            right: 90px;
            transform: translateY(-50%);
            width: 320px;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 16px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            box-shadow:
                0 10px 40px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.08);
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-50%) translateX(10px) scale(0.95);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }

        .sidebar-filter-dropdown.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(0) scale(1);
            pointer-events: auto;
        }

        [data-theme="dark"] .sidebar-filter-dropdown {
            background: rgba(30, 30, 30, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow:
                0 10px 40px rgba(0, 0, 0, 0.5),
                0 4px 12px rgba(0, 0, 0, 0.3);
        }

        /* Arrow pointing to the button */
        .sidebar-filter-dropdown::after {
            content: '';
            position: absolute;
            top: 50%;
            right: -8px;
            transform: translateY(-50%);
            border-left: 8px solid rgba(255, 255, 255, 0.98);
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent;
        }

        [data-theme="dark"] .sidebar-filter-dropdown::after {
            border-left-color: rgba(30, 30, 30, 0.98);
        }

        /* Mobile responsiveness for sidebar filter */
        @media (max-width: 768px) {
            .sidebar-filter-dropdown {
                position: fixed !important;
                top: 50% !important;
                left: 50% !important;
                right: auto !important;
                transform: translate(-50%, -50%) scale(0.95) !important;
                width: calc(100vw - 40px) !important;
                max-width: 320px;
                z-index: 99999 !important;
            }

            .sidebar-filter-dropdown.show {
                opacity: 1 !important;
                visibility: visible !important;
                transform: translate(-50%, -50%) scale(1) !important;
                pointer-events: auto !important;
            }

            .sidebar-filter-dropdown::after {
                display: none;
            }
        }

        /* Extra small screens (phones) */
        @media (max-width: 480px) {
            .sidebar-filter-dropdown {
                position: fixed !important;
                top: 50% !important;
                left: 50% !important;
                right: auto !important;
                transform: translate(-50%, -50%) scale(0.95) !important;
                width: calc(100vw - 32px) !important;
                max-width: 300px;
                z-index: 99999 !important;
            }

            .sidebar-filter-dropdown.show {
                opacity: 1 !important;
                visibility: visible !important;
                transform: translate(-50%, -50%) scale(1) !important;
                pointer-events: auto !important;
            }
        }

        /* Need Description Box */
        .connection-need-box {
            margin-top: 12px;
            padding: 12px 16px;
            background: var(--bg-light);
            border-radius: 8px;
            border-left: 3px solid var(--primary-purple);
        }

        .connection-need-box strong {
            display: block;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--text-gray);
            margin-bottom: 6px;
            letter-spacing: 0.5px;
        }

        .connection-need-box p {
            margin: 0;
            font-size: 14px;
            color: var(--text-dark);
            line-height: 1.5;
        }

        /* Offer Description Box (What you can provide) */
        .connection-offer-box {
            margin-top: 8px;
            padding: 12px 16px;
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border-radius: 8px;
            border-left: 3px solid #22c55e;
        }

        .connection-offer-box strong {
            display: block;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            color: #166534;
            margin-bottom: 6px;
            letter-spacing: 0.5px;
        }

        .connection-offer-box p {
            margin: 0;
            font-size: 14px;
            color: #15803d;
            line-height: 1.5;
            font-weight: 500;
        }

        /* Urgency Badge */
        .urgency-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 8px;
        }

        .urgency-badge.high {
            color: #dc2626;
        }

        .urgency-badge.medium {
            color: #ea580c;
        }

        .urgency-badge.low {
            color: #65a30d;
        }

        /* ============================================
           DARK MODE - Connection Cards & Boxes
           ============================================ */
        [data-theme="dark"] .connection-card {
            background: #1f2937;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .connection-card:hover {
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
        }

        [data-theme="dark"] .connection-card.match-card {
            background: linear-gradient(to right, rgba(255, 140, 0, 0.08) 0%, #1f2937 100%);
        }

        [data-theme="dark"] .connection-need-box {
            background: #111827;
        }

        [data-theme="dark"] .connection-offer-box {
            background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
            border-left-color: #34D399;
        }

        [data-theme="dark"] .connection-offer-box strong {
            color: #4ade80;
        }

        [data-theme="dark"] .connection-offer-box p {
            color: #dcfce7;
        }

        [data-theme="dark"] .connection-success-message {
            background: #052e16;
            border-left-color: #34D399;
            color: #dcfce7;
        }

        /* Approve Connection Button */
        .approve-connect-btn {
            padding: 12px 24px;
            background: var(--primary-purple);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
        }

        .approve-connect-btn:hover {
            background: var(--primary-purple-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(255, 140, 0, 0.4);
        }

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

        .approve-connect-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* View Profile Button */
        .view-profile-btn {
            padding: 10px 20px;
            background: transparent;
            color: var(--primary-purple);
            border: 2px solid var(--primary-purple);
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .view-profile-btn:hover {
            background: var(--primary-purple);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
        }

        /* Success Message */
        .connection-success-message {
            margin-top: 16px;
            padding: 16px;
            background: #d1fae5;
            border-left: 4px solid #10b981;
            border-radius: 8px;
            font-size: 14px;
            color: #065f46;
            line-height: 1.6;
        }

        .connection-success-message strong {
            display: block;
            margin-bottom: 6px;
            font-weight: 700;
        }

        /* Send Request Button (for seeker-initiated workflow) */
        .send-request-btn {
            padding: 12px 24px;
            background: var(--primary-purple);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
        }

        .send-request-btn:hover {
            background: var(--primary-purple-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(255, 140, 0, 0.4);
        }

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

        .send-request-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Defer Match Button (for seekers viewing providers) */
        .defer-match-btn {
            padding: 12px 24px;
            background: transparent;
            color: var(--text-gray);
            border: 2px solid var(--border-color);
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .defer-match-btn:hover {
            background: var(--bg-light);
            border-color: var(--text-gray);
            transform: translateY(-2px);
        }

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

        .defer-match-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Connection Card Actions Container */
        .connection-card-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            align-items: center;
        }

        .connection-card-actions button {
            flex: 1;
            min-width: 140px;
        }

        /* ========================================
           PENDING REQUESTS SECTION STYLING
           ======================================== */

        .pending-requests-header {
            padding: 20px 24px;
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(20, 20, 20, 0.06);
            border-left: 4px solid #f59e0b;
        }

        .pending-requests-header h3 {
            margin: 0 0 6px 0;
            font-size: 20px;
            font-weight: 700;
            color: #92400e;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .pending-requests-header p {
            margin: 0;
            font-size: 14px;
            color: #78350f;
            line-height: 1.5;
        }

        /* Pending Request Card */
        .pending-request-card {
            background: var(--card-bg);
            border-radius: 16px;
            margin-bottom: 20px;
            box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
            transition: transform 240ms cubic-bezier(.2, .9, .2, 1), box-shadow 240ms ease;
            will-change: transform, box-shadow;
            border: 1px solid transparent;
            border-left: 4px solid #f59e0b;
            overflow: hidden;
        }

        .pending-request-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 40px rgba(20, 20, 20, 0.12);
        }

        /* Request Header */
        .request-header {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 24px;
            background: linear-gradient(to right, rgba(251, 191, 36, 0.05) 0%, var(--card-bg) 100%);
            border-bottom: 1px solid var(--border-color);
        }

        .request-header-info {
            flex: 1;
            min-width: 0;
        }

        .request-metadata {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 8px;
        }

        /* Urgency Badge */
        .urgency-badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            border-radius: 16px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .urgency-badge.urgency-high {
            background: #fee2e2;
            color: #991b1b;
        }

        .urgency-badge.urgency-medium {
            background: #fed7aa;
            color: #9a3412;
        }

        .urgency-badge.urgency-low {
            background: #d9f99d;
            color: #365314;
        }

        /* Time Remaining */
        .time-remaining {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            background: rgba(156, 163, 175, 0.1);
            border-radius: 16px;
            font-size: 11px;
            font-weight: 600;
            color: var(--text-gray);
        }

        .time-remaining.expired {
            background: #fee2e2;
            color: #991b1b;
        }

        /* Request Content */
        .request-content {
            padding: 24px;
        }

        .request-message {
            margin-top: 12px;
            padding: 12px 16px;
            background: #fffbeb;
            border-radius: 8px;
            border-left: 3px solid #fbbf24;
        }

        .request-message strong {
            display: block;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            color: #92400e;
            margin-bottom: 6px;
            letter-spacing: 0.5px;
        }

        .request-message p {
            margin: 0;
            font-size: 14px;
            color: #78350f;
            line-height: 1.5;
        }

        /* Request Actions */
        .request-actions {
            display: flex;
            gap: 12px;
            padding: 20px 24px;
            background: var(--bg-light);
            border-top: 1px solid var(--border-color);
            flex-wrap: wrap;
        }

        .accept-request-btn {
            flex: 1;
            min-width: 140px;
            padding: 12px 24px;
            background: #10b981;
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }

        .accept-request-btn:hover {
            background: #059669;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
        }

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

        .accept-request-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .decline-request-btn {
            flex: 1;
            min-width: 140px;
            padding: 12px 24px;
            background: #dc2626;
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
        }

        .decline-request-btn:hover {
            background: #b91c1c;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
        }

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

        .decline-request-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .defer-request-btn {
            flex: 1;
            min-width: 140px;
            padding: 12px 24px;
            background: transparent;
            color: var(--text-gray);
            border: 2px solid var(--border-color);
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .defer-request-btn:hover {
            background: var(--bg-light);
            border-color: var(--text-gray);
            transform: translateY(-2px);
        }

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

        .defer-request-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Request Success Message */
        .request-success-message {
            margin-top: 16px;
            padding: 16px;
            background: #d1fae5;
            border-left: 4px solid #10b981;
            border-radius: 8px;
            font-size: 14px;
            color: #065f46;
            line-height: 1.6;
        }

        .request-success-message strong {
            display: block;
            margin-bottom: 6px;
            font-weight: 700;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .connection-card {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
            }

            .connection-avatar {
                width: 56px;
                height: 56px;
                font-size: 24px;
            }

            .connection-name {
                font-size: 16px;
            }

            .approve-connect-btn,
            .view-profile-btn {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
            .profile-container {
                padding: 24px 16px;
            }

            .profile-header-card {
                padding: 32px 20px;
                border-radius: 18px;
            }

            .profile-section {
                padding: 24px 20px;
            }

            .profile-name-large {
                font-size: 28px;
            }

            .profile-stats {
                gap: 20px;
            }

            .profile-bio-container {
                padding: 16px 18px;
                margin-bottom: 16px;
            }

            .profile-bio-container::before {
                font-size: 36px;
                top: 4px;
                left: 12px;
            }

            .profile-bio-large {
                font-size: 15px;
            }

            .profile-next-steps {
                padding: 16px;
                margin: 16px 0;
            }

            .next-steps-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
                margin-bottom: 14px;
            }

            .next-steps-title {
                font-size: 15px;
            }

            .next-steps-title-icon {
                font-size: 18px;
            }

            .next-steps-progress {
                font-size: 11px;
            }

            .next-steps-progress-bar {
                width: 50px;
                height: 4px;
            }

            .next-step-item {
                padding: 14px;
                gap: 14px;
            }

            .next-step-icon {
                width: 36px;
                height: 36px;
                font-size: 18px;
            }

            .next-step-label {
                font-size: 13px;
            }

            .next-step-desc {
                font-size: 11px;
            }

            /* Tier tooltip mobile adjustments */
            .tier-tooltip {
                width: 250px;
                padding: 14px;
                left: 50%;
                transform: translateX(-50%) translateY(8px);
            }

            .tier-tooltip-wrapper:hover .tier-tooltip {
                transform: translateX(-50%) translateY(0);
            }

            .tier-item {
                padding: 6px 8px;
            }

            .tier-item-badge {
                width: 24px;
                height: 24px;
                font-size: 12px;
            }

            .tier-item-name {
                font-size: 12px;
            }

            .tier-item-range {
                font-size: 10px;
            }

            .profile-action-buttons {
                flex-direction: column;
                gap: 10px;
            }

            .profile-action-btn {
                width: 100%;
                justify-content: center;
            }

            .profile-info-grid {
                grid-template-columns: 1fr;
            }
        }

        /* ========================================
           INTERACTIONS SECTION STYLING
           ======================================== */

        #profileInteractionsSection {
            background: var(--bg-white) !important;
        }

        .interactions-summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 24px;
        }

        .interaction-stat-card {
            padding: 24px;
            background: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(20,20,20,0.06);
            transition: transform 240ms cubic-bezier(.2,.9,.2,1), box-shadow 240ms ease;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .interaction-stat-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 40px rgba(20,20,20,0.12);
        }

        .interaction-stat-icon {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            line-height: 1;
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.08) 0%, rgba(255, 179, 71, 0.12) 100%);
            border-radius: 10px;
            flex-shrink: 0;
        }

        .interaction-stat-content {
            flex: 1;
        }

        .interaction-stat-value {
            font-size: 32px;
            font-weight: 700;
            color: var(--primary-purple);
            line-height: 1;
            margin-bottom: 6px;
        }

        .interaction-stat-label {
            font-size: 13px;
            color: var(--text-gray);
            font-weight: 500;
        }

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

        .interaction-item-card {
            padding: 20px;
            background: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(20,20,20,0.06);
            transition: transform 240ms cubic-bezier(.2,.9,.2,1), box-shadow 240ms ease;
        }

        .interaction-item-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(20,20,20,0.12);
        }

        .interaction-item-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 16px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border-color);
        }

        .interaction-item-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .interaction-item-info {
            flex: 1;
            min-width: 0;
        }

        .interaction-item-name {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .interaction-item-role {
            font-size: 13px;
            color: var(--text-gray);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .interaction-item-stats {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }

        .interaction-stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: var(--text-dark);
        }

        .interaction-stat-item-icon {
            font-size: 18px;
        }

        .interaction-stat-item-value {
            font-weight: 600;
            color: var(--primary-purple);
        }

        .interaction-item-actions {
            display: flex;
            gap: 12px;
            margin-top: 12px;
        }

        .interaction-action-btn {
            padding: 8px 16px;
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .interaction-action-btn:hover {
            background: var(--primary);
            color: white;
        }

        .interaction-action-btn.secondary {
            border-color: #6b7280;
            color: #6b7280;
        }

        .interaction-action-btn.secondary:hover {
            background: #6b7280;
            color: white;
        }

        /* ========================================
           USER INTERACTION GROUP CARDS - Collapsible
           ======================================== */
        .user-interaction-group-card {
            margin-bottom: 24px;
            background: var(--bg-white);
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }

        /* User header - Clickable to expand/collapse */
        .user-interaction-header {
            padding: 20px;
            background: var(--bg-light);
            border-bottom: 2px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .user-interaction-header:hover {
            background: #f5f5f5;
        }

        .user-interaction-header-content {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .user-interaction-toggle {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(124, 58, 237, 0.1);
            border-radius: 50%;
            font-size: 16px;
            color: var(--primary-purple);
            transition: all 0.3s ease;
        }

        .user-interaction-header:hover .user-interaction-toggle {
            background: rgba(124, 58, 237, 0.2);
            transform: scale(1.1);
        }

        .user-interaction-toggle.collapsed {
            transform: rotate(-90deg);
        }

        .user-interaction-header:hover .user-interaction-toggle.collapsed {
            transform: rotate(-90deg) scale(1.1);
        }

        /* Collapsible content for user interactions */
        .user-interaction-content {
            max-height: 5000px;
            overflow: hidden;
            transition: max-height 0.4s ease, opacity 0.3s ease;
            opacity: 1;
        }

        .user-interaction-content.collapsed {
            max-height: 0;
            opacity: 0;
        }

        /* Role section headers (Provider/Seeker) - Collapsible */
        .role-interaction-header {
            padding: 12px 20px;
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(255, 140, 0, 0.05) 100%);
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .role-interaction-header:hover {
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(255, 140, 0, 0.08) 100%);
        }

        .role-interaction-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--primary-purple);
            text-transform: uppercase;
        }

        .role-interaction-toggle {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(124, 58, 237, 0.1);
            border-radius: 50%;
            font-size: 14px;
            color: var(--primary-purple);
            transition: all 0.3s ease;
        }

        .role-interaction-header:hover .role-interaction-toggle {
            background: rgba(124, 58, 237, 0.2);
            transform: scale(1.1);
        }

        .role-interaction-toggle.collapsed {
            transform: rotate(-90deg);
        }

        .role-interaction-header:hover .role-interaction-toggle.collapsed {
            transform: rotate(-90deg) scale(1.1);
        }

        /* Collapsible content for role sections */
        .role-interaction-content {
            max-height: 3000px;
            overflow: hidden;
            transition: max-height 0.4s ease, opacity 0.3s ease;
            opacity: 1;
        }

        .role-interaction-content.collapsed {
            max-height: 0;
            opacity: 0;
        }

        /* Log External Interaction Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 10000;
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: var(--bg-white);
            border-radius: 16px;
            width: 90%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            border-bottom: 1px solid var(--border-color);
        }

        .modal-header h3 {
            margin: 0;
            font-size: 20px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 28px;
            color: var(--text-gray);
            cursor: pointer;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }

        .modal-close:hover {
            background: var(--bg-light);
        }

        .modal-body {
            padding: 24px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .form-input {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 14px;
            color: var(--text-dark);
            background: var(--bg-white);
            transition: border-color 0.2s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
        }

        .modal-footer {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
            margin-top: 24px;
        }

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

            .interaction-stat-card {
                flex-direction: column;
                text-align: center;
            }

            .interaction-stat-icon {
                width: 44px;
                height: 44px;
                font-size: 22px;
            }

            .profile-stats-card-icon {
                width: 32px;
                height: 32px;
                font-size: 16px;
            }

            /* Removed - now using inline SVG icons instead of ::before pseudo-elements */
            /* .profile-section-title::before {
                width: 28px;
                height: 28px;
                font-size: 14px;
                margin-right: 10px;
            } */

            .interaction-item-header {
                flex-direction: column;
                text-align: center;
            }

            .interaction-item-stats {
                justify-content: center;
            }

            .interaction-item-actions {
                flex-direction: column;
            }

            .interaction-action-btn {
                width: 100%;
            }
        }

        /* ================================
           Floating Jambvant Chat Button
           ================================ */
        .jambvant-chat-fab {
            position: fixed;
            bottom: 24px;
            right: 24px;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 14px 20px;
            background: linear-gradient(135deg, var(--primary-purple, #FF8C00) 0%, #FFB347 100%);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .jambvant-chat-fab:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 24px rgba(255, 140, 0, 0.5);
        }

        .jambvant-chat-fab .fab-icon {
            font-size: 20px;
        }

        .jambvant-chat-fab.active {
            border-radius: 50%;
            padding: 14px;
        }

        .jambvant-chat-fab.active .fab-label {
            display: none;
        }

        .jambvant-chat-fab.active .fab-icon::after {
            content: '✕';
        }

        /* Mobile responsive styles for 3 button groups */
        @media (max-width: 768px) {
            .profile-sidebar-nav {
                width: 64px;
                padding: 16px 10px;
                top: 64px;
            }

            .profile-action-group-top,
            .profile-action-group-middle,
            .profile-action-group-bottom {
                right: 12px;
                gap: 8px;
            }

            .profile-action-group-top {
                top: 80px;
            }

            .profile-action-group-bottom {
                bottom: 16px;
            }

            .profile-action-btn {
                width: 44px;
                height: 44px;
                min-width: 44px;
                padding: 10px;
            }

            .profile-action-btn .action-icon {
                font-size: 18px;
            }
        }

        @media (max-width: 480px) {
            .profile-sidebar-nav {
                width: 56px;
                padding: 12px 8px;
            }

            .profile-action-btn {
                width: 40px;
                height: 40px;
                min-width: 40px;
            }
        }

        /* ========== SIDEBAR BUTTON TOOLTIPS ========== */
        .sidebar-btn-wrapper {
            position: static;
            width: auto;
        }

        .sidebar-btn-wrapper .profile-action-btn {
            width: 48px;
            position: relative;
        }

        .sidebar-btn-tooltip {
            position: fixed;
            right: 92px;
            background: var(--bg-white, #fff);
            border: 1px solid var(--border-color, #e5e7eb);
            border-radius: 10px;
            padding: 10px 14px;
            min-width: 180px;
            max-width: 220px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s ease;
            z-index: 10001;
            pointer-events: none;
            transform: translateY(-50%);
        }

        .sidebar-btn-wrapper:hover .sidebar-btn-tooltip {
            opacity: 1;
            visibility: visible;
        }

        .sidebar-btn-tooltip::after {
            content: '';
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            border: 8px solid transparent;
            border-left-color: var(--bg-white, #fff);
        }

        .sidebar-btn-tooltip::before {
            content: '';
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            border: 9px solid transparent;
            border-left-color: var(--border-color, #e5e7eb);
        }

        .sidebar-btn-tooltip-title {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .sidebar-btn-tooltip-desc {
            font-size: 11px;
            color: var(--text-gray);
            line-height: 1.4;
        }

        /* Dark mode tooltip */
        [data-theme="dark"] .sidebar-btn-tooltip {
            background: var(--card-bg, #1f2937);
            border-color: var(--border-color, #374151);
        }

        [data-theme="dark"] .sidebar-btn-tooltip::after {
            border-left-color: var(--card-bg, #1f2937);
        }

        [data-theme="dark"] .sidebar-btn-tooltip::before {
            border-left-color: var(--border-color, #374151);
        }

        /* Hide tooltips on mobile where buttons are icon-only */
        @media (max-width: 768px) {
            .sidebar-btn-tooltip {
                display: none;
            }
        }

        /* ========== PROFILE COMPLETION INDICATOR ========== */
        .profile-completion-indicator {
            padding: 18px 20px;
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 12px;
            margin-bottom: 16px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
            position: relative;
            transition: all 0.2s ease;
        }

        /* Success Badge (100% Complete) */
        .profile-completion-badge {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .badge-icon {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            min-width: 44px;
            min-height: 44px;
            max-width: 44px;
            max-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            animation: successPulse 2.5s ease-in-out infinite;
        }

        @keyframes successPulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.06);
            }
        }

        .badge-icon svg {
            width: 44px !important;
            height: 44px !important;
            max-width: 44px !important;
            max-height: 44px !important;
            flex-shrink: 0;
            display: block;
            filter: drop-shadow(0 3px 10px rgba(16, 185, 129, 0.25));
        }

        .badge-content {
            flex: 1;
            min-width: 0;
        }

        .badge-title {
            font-size: 16px;
            font-weight: 700;
            color: #10b981;
            margin-bottom: 3px;
            letter-spacing: -0.01em;
        }

        .badge-desc {
            font-size: 13px;
            color: #666;
            line-height: 1.4;
        }

        /* Progress Circle (Incomplete) */
        .profile-completion-progress {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .progress-circle {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            width: 60px;
            height: 60px;
            min-width: 60px;
            min-height: 60px;
            max-width: 60px;
            max-height: 60px;
            flex-shrink: 0;
            overflow: hidden;
        }

        .progress-circle svg {
            transform: rotate(-90deg);
            width: 60px !important;
            height: 60px !important;
            max-width: 60px !important;
            max-height: 60px !important;
            flex-shrink: 0;
            display: block;
        }

        .circle-bg {
            fill: none;
            stroke: #f0f0f0;
            stroke-width: 3.5;
        }

        .circle-bar {
            fill: none;
            stroke: url(#orangeGradient);
            stroke-width: 3.5;
            stroke-linecap: round;
            transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            filter: drop-shadow(0 2px 6px rgba(255, 140, 0, 0.25));
        }

        .progress-percent {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 15px;
            font-weight: 700;
            color: #FF8C00;
            letter-spacing: -0.02em;
        }

        .progress-content {
            flex: 1;
            min-width: 0;
        }

        .progress-title {
            font-size: 15px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 3px;
            letter-spacing: -0.01em;
        }

        .progress-desc {
            font-size: 13px;
            color: #666;
            line-height: 1.4;
        }

        .profile-completion-action {
            flex-shrink: 0;
            padding: 9px 20px;
            background: #FF8C00;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .profile-completion-action:hover {
            background: #E07B00;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
        }

        .profile-completion-action:active {
            transform: translateY(0);
        }

        /* Dark mode */
        [data-theme="dark"] .profile-completion-indicator {
            background: #1f2937;
            border-color: rgba(255, 255, 255, 0.1);
        }

        [data-theme="dark"] .badge-title {
            color: #10b981;
        }

        [data-theme="dark"] .badge-desc {
            color: #9ca3af;
        }

        [data-theme="dark"] .progress-title {
            color: #f9fafb;
        }

        [data-theme="dark"] .progress-desc {
            color: #9ca3af;
        }

        [data-theme="dark"] .progress-percent {
            color: #FFB347;
        }

        [data-theme="dark"] .circle-bg {
            stroke: #374151;
        }

        /* Responsive */
        @media (max-width: 480px) {
            .profile-completion-indicator {
                padding: 16px;
            }

            .profile-completion-badge {
                gap: 12px;
            }

            .badge-icon {
                width: 40px;
                height: 40px;
                min-width: 40px;
                min-height: 40px;
                max-width: 40px;
                max-height: 40px;
                overflow: hidden;
            }

            .badge-icon svg {
                width: 40px !important;
                height: 40px !important;
                max-width: 40px !important;
                max-height: 40px !important;
                flex-shrink: 0;
                display: block;
            }

            .badge-title {
                font-size: 15px;
            }

            .badge-desc {
                font-size: 12px;
            }

            .profile-completion-progress {
                flex-direction: column;
                align-items: flex-start;
                gap: 14px;
            }

            .progress-circle {
                width: 54px;
                height: 54px;
                min-width: 54px;
                min-height: 54px;
                max-width: 54px;
                max-height: 54px;
                align-self: flex-start;
                overflow: hidden;
            }

            .progress-circle svg {
                width: 54px !important;
                height: 54px !important;
                max-width: 54px !important;
                max-height: 54px !important;
                flex-shrink: 0;
                display: block;
            }

            .progress-percent {
                font-size: 14px;
            }

            .progress-title {
                font-size: 14px;
            }

            .progress-desc {
                font-size: 12px;
            }

            .profile-completion-action {
                width: 100%;
                padding: 10px 16px;
                font-size: 13px;
            }
        }

        /* ================================
           Jambvant Chat Modal
           ================================ */
        .jambvant-chat-modal {
            position: fixed;
            bottom: 90px;
            right: 24px;
            width: 380px;
            max-width: calc(100vw - 32px);
            max-height: 500px;
            background: var(--bg-white, #fff);
            border-radius: 16px;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
            z-index: 999;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            animation: slideUp 0.3s ease;
        }

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

        .jambvant-chat-container {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .jambvant-chat-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px;
            background: linear-gradient(135deg, var(--primary-purple, #FF8C00) 0%, #FFB347 100%);
            color: white;
        }

        .jambvant-chat-header-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .jambvant-chat-header-left h3 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
        }

        .jambvant-chat-header-left small {
            opacity: 0.9;
            font-size: 12px;
        }

        .jambvant-avatar {
            font-size: 28px;
        }

        .jambvant-chat-header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .jambvant-chat-header-actions .btn-sm {
            padding: 6px 8px;
            font-size: 12px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
        }

        .jambvant-chat-header-actions .btn-sm:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .jambvant-chat-close {
            background: transparent;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 0 4px;
            opacity: 0.8;
            transition: opacity 0.2s;
        }

        .jambvant-chat-close:hover {
            opacity: 1;
        }

        .jambvant-chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-height: 250px;
            max-height: 300px;
            background: var(--bg-light, #f8f9fa);
        }

        .jambvant-welcome-message {
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .jambvant-avatar-small {
            font-size: 24px;
        }

        .jambvant-message-bubble {
            background: var(--bg-white, #fff);
            padding: 10px 14px;
            border-radius: 12px;
            border: 1px solid var(--border-color, #e0e0e0);
            font-size: 14px;
            color: var(--text-dark, #333);
            max-width: 85%;
        }

        .jambvant-chat-input-area {
            display: flex;
            gap: 8px;
            padding: 12px 16px;
            border-top: 1px solid var(--border-color, #e0e0e0);
            background: var(--bg-white, #fff);
        }

        .jambvant-chat-input-area .form-input {
            flex: 1;
            padding: 10px 14px;
            border-radius: 20px;
        }

        .jambvant-chat-input-area .btn {
            border-radius: 20px;
            padding: 10px 16px;
        }

        @media (max-width: 600px) {
            .jambvant-chat-modal {
                bottom: 70px;
                right: 8px;
                left: 8px;
                width: auto;
                max-height: 60vh;
            }
        }

        /* ================================
           Chat History Overlay
           ================================ */
        .chat-history-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
        }

        .chat-history-panel {
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 400px;
            max-width: 90%;
            background: var(--bg-white, #fff);
            box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
            overflow: auto;
        }

        .chat-history-header {
            padding: 20px;
            border-bottom: 1px solid var(--border-color, #e0e0e0);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .chat-history-header h3 {
            margin: 0;
            font-size: 18px;
            color: var(--text-dark, #333);
        }

        .chat-history-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-gray, #666);
        }

        .chat-history-list {
            padding: 16px;
        }

        /* ========================================
           TOAST NOTIFICATION SYSTEM
           ======================================== */
        .toast-container {
            position: fixed;
            top: 100px;
            right: 24px;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            gap: 12px;
            pointer-events: none;
        }

        .toast {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 20px;
            background: var(--bg-white, #fff);
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            border-left: 4px solid #10b981;
            max-width: 380px;
            min-width: 300px;
            pointer-events: auto;
            transform: translateX(120%);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .toast.show {
            transform: translateX(0);
            opacity: 1;
        }

        .toast.toast-success { border-left-color: #10b981; }
        .toast.toast-error { border-left-color: #dc2626; }
        .toast.toast-warning { border-left-color: #f59e0b; }
        .toast.toast-info { border-left-color: #3b82f6; }

        .toast-icon { font-size: 24px; flex-shrink: 0; }
        .toast-content { flex: 1; min-width: 0; }
        .toast-title { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
        .toast-message { font-size: 13px; color: var(--text-gray); line-height: 1.4; }
        .toast-close { background: transparent; border: none; color: var(--text-gray); cursor: pointer; padding: 4px; font-size: 18px; opacity: 0.6; transition: opacity 0.2s; }
        .toast-close:hover { opacity: 1; }

        [data-theme="dark"] .toast { background: var(--card-bg, #1f2937); }

        @media (max-width: 768px) {
            .toast-container { top: auto; bottom: 100px; right: 16px; left: 16px; }
            .toast { max-width: none; min-width: auto; }
        }

        /* ========================================
           CUSTOM CONFIRMATION DIALOG
           ======================================== */
        .confirm-dialog-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 10001;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .confirm-dialog-overlay.show { opacity: 1; visibility: visible; }

        .confirm-dialog {
            background: var(--bg-white, #fff);
            border-radius: 16px;
            padding: 28px;
            max-width: 420px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            transform: scale(0.9) translateY(20px);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .confirm-dialog-overlay.show .confirm-dialog { transform: scale(1) translateY(0); }

        .confirm-dialog-icon { font-size: 48px; text-align: center; margin-bottom: 16px; }
        .confirm-dialog-title { font-size: 20px; font-weight: 700; color: var(--text-dark); text-align: center; margin-bottom: 12px; }
        .confirm-dialog-message { font-size: 15px; color: var(--text-gray); text-align: center; line-height: 1.6; margin-bottom: 24px; }
        .confirm-dialog-actions { display: flex; gap: 12px; justify-content: center; }

        .confirm-dialog-btn { padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; min-width: 100px; }
        .confirm-dialog-btn-cancel { background: var(--bg-light, #f3f4f6); border: 1px solid var(--border-color, #e5e7eb); color: var(--text-dark); }
        .confirm-dialog-btn-cancel:hover { background: var(--border-color, #e5e7eb); }
        .confirm-dialog-btn-confirm { background: #dc2626; border: none; color: white; }
        .confirm-dialog-btn-confirm:hover { background: #b91c1c; }
        .confirm-dialog-btn-confirm.confirm-primary { background: #10b981; }
        .confirm-dialog-btn-confirm.confirm-primary:hover { background: #059669; }

        [data-theme="dark"] .confirm-dialog { background: var(--card-bg, #1f2937); }

        /* ========================================
           MATCH CARD MICRO-INTERACTIONS
           ======================================== */
        .connection-card { position: relative; overflow: hidden; }

        .connection-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .connection-card:hover::before { opacity: 1; }
        .connection-card .connection-avatar { transition: transform 0.3s ease, box-shadow 0.3s ease; }
        .connection-card:hover .connection-avatar { transform: scale(1.08); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
        .connection-card .connection-match-score { transition: transform 0.2s ease; }
        .connection-card:hover .connection-match-score { transform: scale(1.05); }

        /* ========================================
           MATCH SETTINGS ENHANCED HELP
           ======================================== */
        .match-settings-help-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 16px; height: 16px;
            background: var(--bg-light, #f3f4f6);
            border-radius: 50%;
            font-size: 10px;
            color: var(--text-gray);
            cursor: help;
            margin-left: 4px;
            vertical-align: middle;
        }

        /* ========================================
           MOBILE SIDEBAR - Keep on right side
           ======================================== */
        /* Removed bottom navigation - buttons stay on right side on mobile */

        /* ========================================
           COMPREHENSIVE MOBILE RESPONSIVENESS
           Enhanced mobile UX improvements
           ======================================== */
        @media (max-width: 768px) {
            .profile-container {
                padding: 20px 12px;
            }

            .profile-header-card {
                padding: 24px 16px;
            }

            .profile-name-large {
                font-size: 24px;
            }

            .profile-avatar-large {
                width: 100px;
                height: 100px;
                font-size: 40px;
            }

            .profile-stats-grid {
                grid-template-columns: 1fr;
            }

            .profile-story-card {
                min-width: 100%;
            }

            .tier-badge {
                font-size: 12px;
                padding: 6px 12px;
            }
        }

        @media (max-width: 480px) {
            .profile-header-card {
                padding: 24px 16px;
                border-radius: 16px;
            }

            .profile-name-large {
                font-size: 24px;
            }

            .profile-contact-info {
                font-size: 13px;
                gap: 14px;
                padding-bottom: 20px;
            }

            .profile-avatar-large {
                width: 110px;
                height: 110px;
                font-size: 44px;
            }
        }

        /* ========================================
           SEEKER CONNECTION REQUEST STATUS BADGES
           ======================================== */

        /* Status row for displaying badge and additional info */
        .connection-status-row {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 8px 0;
            flex-wrap: wrap;
        }

        /* Pending status badge - yellow/orange theme */
        .status-badge-pending {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #fef3c7;
            color: #d97706;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
        }

        /* Declined status badge - red theme */
        .status-badge-declined {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #fee2e2;
            color: #dc2626;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
        }

        /* Time remaining display */
        .time-remaining {
            font-size: 12px;
            color: var(--text-gray);
            font-style: italic;
        }

        /* Decline reason display */
        .declined-reason {
            font-size: 13px;
            color: var(--text-gray);
            padding: 8px 12px;
            background: rgba(220, 38, 38, 0.05);
            border-left: 3px solid #dc2626;
            border-radius: 4px;
            margin: 8px 0;
        }

        /* Message box for seeker's sent message */
        .connection-message-box {
            margin-top: 12px;
            padding: 12px 16px;
            background: rgba(59, 130, 246, 0.05);
            border-radius: 8px;
            border-left: 3px solid #3b82f6;
        }

        .connection-message-box strong {
            display: block;
            font-size: 11px;
            color: #3b82f6;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
        }

        .connection-message-box p {
            margin: 0;
            font-size: 14px;
            color: var(--text-primary);
            line-height: 1.5;
        }

        /* Sent pending card styling */
        .connection-card.sent-pending-card {
            border-left: 4px solid #d97706;
            background: linear-gradient(to right, rgba(217, 119, 6, 0.02) 0%, var(--card-bg) 100%);
        }

        /* Declined card styling */
        .connection-card.declined-card {
            border-left: 4px solid #dc2626;
            background: linear-gradient(to right, rgba(220, 38, 38, 0.02) 0%, var(--card-bg) 100%);
            opacity: 0.9;
        }

        /* ========================================
           DARK MODE - Status Badges & Cards
           ======================================== */
        [data-theme="dark"] .status-badge-pending {
            background: rgba(217, 119, 6, 0.2);
            color: #fbbf24;
        }

        [data-theme="dark"] .status-badge-declined {
            background: rgba(220, 38, 38, 0.2);
            color: #f87171;
        }

        [data-theme="dark"] .declined-reason {
            background: rgba(220, 38, 38, 0.1);
        }

        [data-theme="dark"] .connection-message-box {
            background: rgba(59, 130, 246, 0.1);
        }

        [data-theme="dark"] .connection-card.sent-pending-card {
            background: linear-gradient(to right, rgba(217, 119, 6, 0.08) 0%, #1f2937 100%);
        }

        [data-theme="dark"] .connection-card.declined-card {
            background: linear-gradient(to right, rgba(220, 38, 38, 0.08) 0%, #1f2937 100%);
        }

        /* ========================================
           SENT PENDING & DECLINED SECTIONS
           ======================================== */
        .sent-pending-list,
        .declined-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        /* ========================================
           COOLING OFF PERIOD NOTICES
           ======================================== */
        .cooling-off-notice {
            font-size: 13px;
            color: #6b7280;
            padding: 8px 12px;
            background: rgba(107, 114, 128, 0.1);
            border-left: 3px solid #6b7280;
            border-radius: 4px;
            margin: 8px 0;
            font-style: italic;
        }

        .cooling-off-ready {
            font-size: 13px;
            color: #16a34a;
            padding: 8px 12px;
            background: rgba(22, 163, 74, 0.1);
            border-left: 3px solid #16a34a;
            border-radius: 4px;
            margin: 8px 0;
        }

        [data-theme="dark"] .cooling-off-notice {
            background: rgba(107, 114, 128, 0.2);
            color: #9ca3af;
        }

        [data-theme="dark"] .cooling-off-ready {
            background: rgba(22, 163, 74, 0.2);
            color: #4ade80;
        }
