/*  
---------------------------------------------------
Enhanced Secondary Navigation
---------------------------------------------------  
*/

/* Base Navigation Structure */
nav.secondary {
    position: relative;
    z-index: 3;
}

.secondary-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--base-half-spacing);
    justify-content: center;
}

.secondary-nav-item {
    position: relative;
}

.secondary-nav-link {
    color: rgba(var(--c1-link), 1);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.secondary-nav-link:hover,
.secondary-nav-link:focus {
    color: rgba(var(--c1-link-hover), 1);
}

/* Member Account Section - Minimalist Layout */
.member-account-section {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 280px;
    max-width: 360px;
    padding: 0;
}

.member-profile-display {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 10px;
    margin-bottom: 0;
}

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

.member-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    color: rgba(var(--c1-heading), 1);
}

.member-role {
    font-size: 0.7rem;
    margin: 0.15rem 0 0 0;
    font-style: italic;
    color: rgba(var(--c2-text), 1);
}

/* Profile Progress Indicator - Hidden in main navigation */
.profile-progress-indicator.nav-hidden {
    display: none; /* Hide in main navigation */
}

/* Account Dropdown Styles - Minimalist Layout */
.account-dropdown-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 280px;
    max-width: 360px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
    align-items: flex-end;
}

/* Profile Icon Container - Updated for new layout */
.profile-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(var(--c3-bg-color1), 0.1);
    border: 1px solid rgba(var(--c1-link), 0.3);
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
    margin-bottom: 0;
}

/* Status indicator for incomplete profiles */
.profile-icon-container::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(var(--c3-highlight), 1);
    border: 2px solid rgba(var(--c1-bg-color1), 1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.profile-icon-container.profile-25::after,
.profile-icon-container.profile-50::after,
.profile-icon-container.profile-75::after {
    opacity: 1;
}

.account-dropdown-toggle:hover .profile-icon-container {
    border-color: rgba(var(--c1-link), 0.6);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(var(--c1-link), 0.2);
}

/* Account Dropdown Toggle - Minimalist Layout */
.account-dropdown-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    /* padding: 0px 12px; */
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: rgba(var(--c1-link), 1);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    margin-bottom: 0;
    text-align: left;
    border-radius: 6px;
    justify-content: flex-end;
    align-items: flex-end;
    outline: none;
}

.account-dropdown-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--c1-link), 0.05);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.account-dropdown-toggle:hover::before {
    opacity: 1;
}

.account-dropdown-toggle:hover,
.account-dropdown-toggle:focus {
    background: rgba(var(--c1-link), 0.1);
    color: rgba(var(--c1-link), 1);
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
    border: none;
}

.account-dropdown-toggle.active {
    background: rgba(var(--c1-link), 0.15);
    box-shadow: 0 2px 8px rgba(var(--c1-link), 0.15);
    outline: none;
    border: none;
}

/* Dropdown Icon Styling */
.account-dropdown-toggle .dropdown-icon {
    font-size: 14px;
    color: rgba(var(--c2-text), 0.8);
    margin-left: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.account-dropdown-toggle:hover .dropdown-icon {
    color: rgba(var(--c2-text), 1);
    transform: translateY(1px);
}

                .account-dropdown-toggle.active .dropdown-icon {
                    color: rgba(var(--c2-text), 1);
                    transform: rotate(180deg);
                }

                /* Profile Completion Status Styling */
                .profile-completion-status {
                    margin-top: 6px;
                    padding: 6px 8px;
                    background: rgba(var(--c1-link), 0.03);
                    border: 1px solid rgba(var(--c1-link), 0.1);
                    border-radius: 4px;
                }

                .profile-completion-status .completion-message {
                    margin: 0 0 4px 0 !important;
                    line-height: 1.3;
                }

                .profile-completion-status .completion-action {
                    display: inline-block;
                    padding: 2px 6px;
                    background: rgba(var(--c1-link), 0.1);
                    border-radius: 3px;
                    transition: all 0.2s ease;
                }

                .profile-completion-status .completion-action:hover {
                    background: rgba(var(--c1-link), 0.2);
                    text-decoration: none !important;
                }

                /* Impersonation Profiles Styling */
                .impersonation-profiles {
                    margin-top: 8px;
                    padding: 8px;
                    background: rgba(var(--c1-link), 0.02);
                    border: 1px solid rgba(var(--c1-link), 0.08);
                    border-radius: 6px;
                }

                .impersonation-profiles .profile-list {
                    border: 1px solid rgba(var(--c2-text), 0.1);
                    border-radius: 4px;
                    background: rgba(var(--c5-bg-color1), 0.5);
                }

                .impersonation-profiles .profile-item {
                    border-bottom: 1px solid rgba(var(--c2-text), 0.05);
                    transition: background 0.2s ease;
                }

                .impersonation-profiles .profile-item:last-child {
                    border-bottom: none;
                }

                .impersonation-profiles .profile-item:hover {
                    background: rgba(var(--c1-link), 0.08) !important;
                }

/* Enhanced dropdown menu - Minimalist Layout */
.account-dropdown-menu {
    position: absolute;
    top: 100%;
    width: 150%;
    min-width: 280px;
    max-width: 360px;
    max-height: 80vh;
    background: rgba(var(--c5-bg-color1), 0.98);
    border: 1px solid rgba(var(--c1-link), 0.15);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    z-index: 1000;
    margin-top: 4px;
    backdrop-filter: blur(8px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

/* Scrollable content area */
.dropdown-scrollable-content {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-height: calc(80vh - 200px); /* Account for header height */
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--c1-link), 0.3) transparent;
}

/* Custom scrollbar styling */
.dropdown-scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-scrollable-content::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-scrollable-content::-webkit-scrollbar-thumb {
    background: rgba(var(--c1-link), 0.3);
    border-radius: 3px;
}

.dropdown-scrollable-content::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--c1-link), 0.5);
}

/* User Profile Header Section */
.user-profile-header {
    padding: 15px;
    background: linear-gradient(135deg, rgba(var(--c1-text), 0.6) 0%, rgba(var(--c1-text), 0.6) 100%);
    color: white;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 300px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.user-profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
}

/* Custom scrollbar styling for user-profile-header */
.user-profile-header::-webkit-scrollbar {
    width: 6px;
}

.user-profile-header::-webkit-scrollbar-track {
    background: transparent;
}

.user-profile-header::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.user-profile-header::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.user-avatar-name {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    flex-direction: row;
    flex-wrap: nowrap;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    order: 1;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar .profile-progress-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.user-name-email {
    flex: 1;
    order: 2;
    min-width: 0;
}

.user-name {
    font-size: 15px !important;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.user-email {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px 0; /* Add bottom margin for consistent spacing */
    word-break: break-all;
}

.user-status {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 0; /* Remove top margin since email has bottom margin */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Adjust spacing when user-status is not present */
.user-name-email:not(:has(.user-status)) .user-email {
    margin-bottom: 0;
}

/* Financial Summary Section - Single Column */
.financial-summary {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.financial-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 160px;
}

.financial-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.financial-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.financial-amount {
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Profile Completion Summary - Matches Financial Summary Styling */
.profile-completion-summary {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.completion-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 160px;
}

.completion-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.completion-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.completion-amount {
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Enhanced User Info Display in Dropdown */
.user-info-display {
    padding: 16px;
    border-bottom: 1px solid rgba(var(--c1-link), 0.1);
}

.user-email-display {
    margin-bottom: 12px;
}

.user-email {
    font-size: 13px;
    color: rgba(var(--c3-text), 0.8);
    word-break: break-all;
    line-height: 1.4;
}

/* Profile Progress Display in Dropdown */
.profile-progress-dropdown {
    padding-top: 12px;
    border-top: 1px solid rgba(var(--c1-link), 0.1);
}

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

.progress-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(var(--c2-text), 1);
}

.progress-percentage {
    font-size: 12px;
    font-weight: 600;
    color: rgba(var(--c3-highlight), 1);
}

.progress-visual-dropdown {
    width: 100%;
    height: 6px;
    background: rgba(var(--c3-bg-color1), 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-dropdown {
    height: 100%;
    background: linear-gradient(90deg, rgba(var(--c3-highlight), 1), rgba(var(--c3-highlight), 0.8));
    border-radius: 3px;
    transition: width 0.3s ease-in-out;
}

.progress-message {
    font-size: 11px;
    line-height: 1.3;
    margin-bottom: 8px;
    color: rgba(var(--c2-text), 0.9);
}

.completion-action-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(var(--c1-link), 1);
    text-decoration: none;
    padding: 4px 8px;
    background: rgba(var(--c1-link), 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.completion-action-link:hover {
    background: rgba(var(--c1-link), 0.2);
    color: rgba(var(--c1-link), 1);
    text-decoration: none;
}

/* User Impersonation Profiles Display */
.impersonation-profiles-list {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(var(--c1-link), 0.1);
}

.profiles-list {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
}

.profile-item {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
    font-size: 11px;
}

.profile-name {
    font-weight: 600;
}

.profile-id,
.profile-type {
    opacity: 0.8;
}

.no-profiles-message {
    font-size: 11px;
    text-align: center;
    font-style: italic;
    margin: 8px 0 0 0;
}

/* Navigation Items - Reorganized */
.dropdown-nav-items {
    padding: 0;
}

.dropdown-nav-section {
    border-bottom: 1px solid rgba(var(--c1-link), 0.08);
}

.dropdown-nav-section:last-child {
    border-bottom: none;
}

.section-title {
    padding: 12px 24px 8px 24px;
    font-size: 11px;
    font-weight: 700;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(var(--c3-bg-color1), 0.05);
}

.dropdown-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(var(--c1-link), 1);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    position: relative;
}

.dropdown-nav-link:hover,
.dropdown-nav-link:focus {
    background: rgba(var(--c1-link), 0.08);
    color: rgba(var(--c1-link), 1);
    text-decoration: none;
    transform: translateX(4px);
}

.dropdown-nav-link .icon {
    font-size: 16px;
    width: 16px;
    text-align: center;
    color: rgba(var(--c1-link), 0.7);
    transition: all 0.2s ease;
}

.dropdown-nav-link:hover .icon {
    color: rgba(var(--c1-link), 1);
    transform: scale(1.1);
}

.dropdown-nav-link.logout-link {
    border-top: 1px solid rgba(var(--c3-highlight), 0.1);
    margin-top: 4px;
    padding-top: 16px;
}

.dropdown-nav-link.logout-link:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e97c70;
}

.dropdown-nav-link.logout-link:hover .icon {
    color: #e97c70;
}

/* Investor Status Section - Completely Redesigned */
.investor-status-section {
    margin: 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    border: none;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-top: 1px solid rgba(var(--c1-link), 0.08);
    overflow: hidden;
}

.investor-status-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    opacity: 0.8;
}

.investor-status-section:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.08) 100%);
    transform: none;
    box-shadow: none;
}

.investor-status-section .status-display {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

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

.investor-status-section .status-title {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.investor-status-section .status-title::before {
    content: '★';
    color: #4CAF50;
    font-size: 16px;
}

.investor-status-section .status-toggle-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 6px 12px;
    color: white;
    transition: all 0.3s ease;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.investor-status-section .status-toggle-btn:hover {
    background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.investor-status-section .tier-progress-container {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.7);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.investor-status-section .current-tier-info,
.investor-status-section .next-tier-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    border: 1px solid rgba(76, 175, 80, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.investor-status-section .current-tier-info {
    border-color: rgba(76, 175, 80, 0.25);
    background: rgba(76, 175, 80, 0.05);
}

.investor-status-section .next-tier-info {
    border-color: rgba(255, 193, 7, 0.25);
    background: rgba(255, 193, 7, 0.05);
}

.investor-status-section .tier-name {
    font-size: 12px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.investor-status-section .tier-amount {
    font-size: 10px;
    color: #7f8c8d;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.investor-status-section .status-progress {
    flex: 2;
    position: relative;
}

.investor-status-section .progress-thermometer {
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.investor-status-section .thermometer-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 50%, #81C784 100%);
    border-radius: 9px 0 0 9px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
}

.investor-status-section .thermometer-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    border-radius: 9px 0 0 9px;
}

.investor-status-section .status-progress::before {
    content: 'Progress to Next Tier';
    position: absolute;
    top: -18px;
    left: 0;
    font-size: 9px;
    font-weight: 600;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Enhanced Tier Names */
.tier-name {
    font-size: 16px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tier-amount {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Progress Section - Now Below Tiers */
.status-progress {
    width: 100%;
    margin-top: 8px;
    position: relative;
}

.progress-thermometer {
    width: 100%;
    height: 24px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thermometer-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 50%, #81C784 100%);
    border-radius: 10px 0 0 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

.thermometer-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    border-radius: 10px 0 0 10px;
}

/* Progress Label */
.status-progress::before {
    content: 'Progress to Next Tier';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 10px;
    font-weight: 600;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Status Toggle Button */
.status-toggle-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 16px;
    color: white;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.status-toggle-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* Status Details Panel - Professional Business Modal Design */
.investor-status-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 1001 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    cursor: pointer !important;
}

.investor-status-modal.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.inv-status-modal-overlay {
    display: none !important;
}

.inv-status-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 90vw;
    max-height: 85vh;
    width: 800px;
    overflow: hidden;
    animation: invStatusModalSlideIn 0.3s ease-out;
    margin: auto;
    border: none;
    transform: translateY(0);
    cursor: default !important;
}

@keyframes invStatusModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.inv-status-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: #ffffff;
    color: #1a1a1a;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 12px 12px 0 0;
}

.inv-status-modal-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.inv-status-modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.inv-status-modal-close-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.inv-status-modal-body {
    padding: 32px;
    max-height: calc(85vh - 88px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
}

/* Professional Layout - Two Column Grid */
.inv-status-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

/* Left Column - Investment Summary */
.inv-status-investment-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.inv-status-summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #007bff;
}

.inv-status-summary-icon {
    width: 24px;
    height: 24px;
    background: #007bff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.inv-status-summary-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.inv-status-total-invested {
    text-align: center;
    margin-bottom: 24px;
}

.inv-status-total-amount {
    font-size: 32px;
    font-weight: 700;
    color: #007bff;
    margin: 0 0 8px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.inv-status-total-label {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Right Column - Current Status */
.inv-status-current-status {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.inv-status-status-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #28a745;
}

.inv-status-status-icon {
    width: 24px;
    height: 24px;
    background: #28a745;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.inv-status-status-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Tier Information Cards */
.inv-status-tier-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.inv-status-tier-card {
    background: white;
    border-radius: 6px;
    padding: 16px;
    border: 1px solid #dee2e6;
    text-align: center;
    transition: all 0.2s ease;
}

.inv-status-tier-card:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.inv-status-tier-card.current {
    border-color: #28a745;
    background: #f8fff9;
}

.inv-status-tier-card.next {
    border-color: #ffc107;
    background: #fffdf8;
}

.tier-name {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-amount {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.inv-status-tier-card.current .tier-amount {
    color: #28a745;
}

.inv-status-tier-card.next .tier-amount {
    color: #ffc107;
}

/* Progress Section */
.inv-status-progress-section {
    margin-top: 20px;
}

.inv-status-progress-label {
    font-size: 12px;
    color: #6c757d;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inv-status-progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.inv-status-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 4px;
    transition: width 0.8s ease;
    position: relative;
}

.inv-status-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: invStatusShimmer 2s infinite;
}

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

.inv-status-progress-percentage {
    font-size: 12px;
    color: #6c757d;
    text-align: right;
    margin: 0;
}

/* Full Width Sections */
.inv-status-full-width-section {
    grid-column: 1 / -1;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
}

.inv-status-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #6f42c1;
}

.inv-status-section-icon {
    width: 24px;
    height: 24px;
    background: #6f42c1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.inv-status-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Enhanced Tiers Table */
.inv-status-tiers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.inv-status-tiers-table th {
    background: #f8f9fa;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inv-status-tiers-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f3f4;
    color: #1a1a1a;
}

.inv-status-tiers-table tr:hover {
    background: #f8f9fa;
}

.inv-status-tiers-table tr.current-tier {
    background: #f8fff9;
    border-left: 4px solid #28a745;
}

.inv-status-tiers-table tr.current-tier td {
    font-weight: 600;
    color: #28a745;
}

/* Points Section - Simplified */
.inv-status-points-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 6px;
    padding: 20px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.inv-status-points-info {
    text-align: center;
}

.inv-status-points-amount {
    font-size: 28px;
    font-weight: 700;
    color: #6f42c1;
    margin: 0 0 4px 0;
}

.inv-status-points-label {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inv-status-points-toggle-btn {
    background: #6f42c1;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.inv-status-points-toggle-btn:hover {
    background: #5a32a3;
    transform: translateY(-1px);
}

.inv-status-points-table-container {
    display: none;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.inv-status-points-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.inv-status-points-table th {
    background: #f8f9fa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inv-status-points-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f4;
    color: #1a1a1a;
}

.inv-status-points-table tr:hover {
    background: #f8f9fa;
}

.inv-status-points-actions {
    text-align: center;
    margin-top: 20px;
}

.inv-status-points-store-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #28a745;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.inv-status-points-store-link:hover {
    background: #218838;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .inv-status-modal-content {
        width: 95vw;
        margin: 20px;
        border-radius: 6px;
    }
    
    .inv-status-modal-header {
        padding: 20px 24px;
    }
    
    .inv-status-modal-title {
        font-size: 20px;
    }
    
    .inv-status-modal-body {
        padding: 24px;
        max-height: calc(95vh - 88px);
    }
    
    .inv-status-modal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .inv-status-tier-cards {
        grid-template-columns: 1fr;
    }
    
    .inv-status-tiers-table {
        font-size: 12px;
    }
    
    .inv-status-tiers-table th,
    .inv-status-tiers-table td {
        padding: 12px;
    }
    
    .inv-status-points-summary {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
} 

/* Status Badge for Current Tier - REMOVED for cleaner look */
/* .current-tier-info .tier-name::after {
    content: 'CURRENT';
    position: absolute;
    top: -12px;
    right: -8px;
    background: rgba(var(--c3-highlight), 1);
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
} */

/* Next Tier Badge - REMOVED for cleaner look */
/* .next-tier-info .tier-name::after {
    content: 'NEXT';
    position: absolute;
    top: -12px;
    right: -8px;
    background: rgba(var(--c2-highlight), 1);
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
} */

/* Achievement Progress Indicator - REMOVED for cleaner look */
/* .status-progress::before {
    content: 'PROGRESS';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 9px;
    font-weight: 600;
    color: rgba(var(--c2-text), 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
} */

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .investor-status-section {
        margin: 8px 12px 6px 12px;
        padding: 16px;
        gap: 0.75rem;
    }
    
    .status-display {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .current-tier-info,
    .next-tier-info {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        min-width: auto;
        padding: 12px 16px;
    }
    
    .current-tier-info::before,
    .next-tier-info::before {
        position: static;
        transform: none;
        margin-right: 12px;
        width: 16px;
        height: 16px;
        font-size: 12px;
    }
    
    .status-progress {
        width: 100%;
        margin-top: 12px;
    }
    
    .progress-thermometer {
        height: 20px;
    }
    
    .status-toggle-btn {
        width: 100%;
        margin-top: 16px;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    /* Progress label positioning on mobile */
    .status-progress::before {
        top: -18px;
        font-size: 9px;
    }
}

/* Achievement Animation */
@keyframes achievementPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.investor-status-section:hover .current-tier-info::before {
    animation: achievementPulse 1s ease-in-out infinite;
}

/* Progress Bar Glow Effect */
.thermometer-fill {
    box-shadow: 0 0 8px rgba(var(--c3-highlight), 0.3);
}

.investor-status-section:hover .thermometer-fill {
    box-shadow: 0 0 12px rgba(var(--c3-highlight), 0.5);
} 

/* Tier Display - Side by Side */
.status-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Current Tier Info - Enhanced */
.current-tier-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 16px 12px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.04) 100%);
    border-radius: 10px;
    border: 2px solid rgba(76, 175, 80, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.current-tier-info:hover {
    border-color: rgba(76, 175, 80, 0.25);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.12) 0%, rgba(76, 175, 80, 0.06) 100%);
    transform: translateY(-1px);
}

.current-tier-info::before {
    content: '★';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #4CAF50;
    background: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid #4CAF50;
}

/* Next Tier Info - Enhanced */
.next-tier-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 16px 12px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 193, 7, 0.04) 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 193, 7, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.next-tier-info:hover {
    border-color: rgba(255, 193, 7, 0.25);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.12) 0%, rgba(255, 193, 7, 0.06) 100%);
    transform: translateY(-1px);
}

.next-tier-info::before {
    content: '↑';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #FFC107;
    background: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid #FFC107;
} 

/* Mobile Responsive for New Dropdown Structure */
@media (max-width: 768px) {
    .account-dropdown-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95%;
        max-width: 400px;
        max-height: 90vh;
        overflow: hidden;
        margin: 0;
    }

    .account-dropdown-menu.show {
        transform: translate(-50%, -50%);
    }

    .user-profile-header {
        padding: 20px;
        max-height: 250px;
    }

    .user-avatar-name {
        gap: 12px;
        margin-bottom: 12px;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        order: 1;
    }

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

    .user-email {
        font-size: 13px;
    }

    .user-status {
        font-size: 11px;
        padding: 3px 10px;
    }

    .financial-summary {
        margin-top: 16px;
    }

    .financial-item {
        padding: 12px 20px;
        min-width: 140px;
    }

    .financial-label {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .financial-amount {
        font-size: 18px;
    }

    .profile-completion-summary {
        margin-top: 16px;
    }

    .completion-item {
        padding: 12px 20px;
        min-width: 140px;
    }

    .completion-label {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .completion-amount {
        font-size: 18px;
    }

    .dropdown-scrollable-content {
        max-height: calc(90vh - 180px); /* Adjusted for mobile header */
    }

    .dropdown-nav-link {
        padding: 10px 20px;
        font-size: 13px;
    }

    .section-title {
        padding: 10px 20px 6px 20px;
        font-size: 10px;
    }

    .investor-status-section {
        padding: 16px 20px;
    }

    .investor-status-section .status-display {
        gap: 12px;
    }

    .investor-status-section .status-header {
        margin-bottom: 6px;
    }

    .investor-status-section .status-title {
        font-size: 13px;
    }

    .investor-status-section .status-toggle-btn {
        padding: 4px 8px;
        font-size: 9px;
    }

    .investor-status-section .tier-progress-container {
        gap: 12px;
        padding: 10px;
        flex-direction: column;
    }

    .investor-status-section .current-tier-info,
    .investor-status-section .next-tier-info {
        padding: 6px 8px;
        min-width: 50px;
    }

    .investor-status-section .tier-name {
        font-size: 11px;
    }

    .investor-status-section .tier-amount {
        font-size: 9px;
        padding: 1px 4px;
    }

    .investor-status-section .status-progress {
        width: 100%;
        order: -1; /* Move progress bar to top on mobile */
    }

    .investor-status-section .progress-thermometer {
        height: 16px;
    }

    .investor-status-section .status-progress::before {
        top: -16px;
        font-size: 8px;
    }
} 

/* Inline Investor Status Section - Minimalist Layout */
/* Inline member status progress */
.member-status-progress {
    --member-status-accent: rgba(26, 33, 50, 0.75);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 4px 4px;
    margin-top: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
    float: right !important;
}

.member-status-progress:hover {
    transform: translateY(-1px);
}

.member-status-progress__bar {
    width: 100%;
    height: 15px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.08);
    position: relative;
    overflow: hidden;
}

.member-status-progress__fill {
    position: absolute;
    inset: 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #d7a97c 0%, #f1c89f 100%);
    transition: width 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 4px;
}

.member-status-progress__percent {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

.member-status-progress__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 2px;
}

.member-status-progress__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 33, 50, 0.75);
}

.member-status-progress__badge--current {
    color: var(--member-status-accent, rgba(26, 33, 50, 0.75));
}

.member-status-progress__icon {
    width: 28px;
    height: 28px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.member-status-progress__details {
    line-height: 1;
    min-width: 0;
}

.member-status-progress__tier {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
    white-space: nowrap;
}

.member-status-progress__badge--next .member-status-progress__icon {
    background: rgba(255, 255, 255, 0.92);
    color: rgba(31, 43, 58, 0.55);
}

.member-status-progress__bar,
.member-status-progress__footer {
    position: relative;
    z-index: 2;
}

.member-status-progress__badge--next {
    position: relative;
    z-index: 3;
}

.member-status-progress__badge--next[data-tooltip]::after,
.member-status-progress__badge--next[data-tooltip]::before {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 15;
}

.member-status-progress__badge--next[data-tooltip]::after {
    content: attr(data-tooltip);
    top: calc(100% + 10px);
    right: 0;
    max-width: 240px;
    background: rgba(26, 33, 50, 0.95);
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.4;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
    transform: translateY(-4px);
}

.member-status-progress__badge--next[data-tooltip]::before {
    content: '';
    top: calc(100% + 5px);
    right: 12px;
    width: 8px;
    height: 8px;
    background: rgba(26, 33, 50, 0.95);
    transform: translateY(-4px) rotate(45deg);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.member-status-progress__badge--next[data-tooltip]:hover::after,
.member-status-progress__badge--next.has-tooltip:focus-within::after {
    opacity: 1;
    transform: translateY(0);
}

.member-status-progress__badge--next[data-tooltip]:hover::before,
.member-status-progress__badge--next.has-tooltip:focus-within::before {
    opacity: 1;
    transform: translateY(0) rotate(45deg);
}

.member-status-progress__badge--current .member-status-progress__icon {
    color: var(--member-status-accent, rgba(26, 33, 50, 0.75));
}

.member-status-progress__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(103, 122, 146, 0.75);
}

.member-status-progress__chevron .icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.member-status-progress__chevron.is-open .icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .member-status-progress {
        gap: 4px;
        padding: 6px 6px 4px;
    }

    .member-status-progress__icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .member-status-progress__tier {
        font-size: 9px;
    }

    .member-status-progress__badge--next[data-tooltip]::after {
        right: 50%;
        transform: translate(50%, -4px);
        text-align: center;
    }

    .member-status-progress__badge--next[data-tooltip]::before {
        right: 50%;
        margin-right: -4px;
        transform: translate(50%, -4px) rotate(45deg);
    }
}

/* Investor Status Description - Enhanced Layout */
#investorStatusDescription {
    max-height: 600px;
    overflow-y: auto;
    background: rgba(var(--c4-bg-color1), 0.98);
    border: 1px solid rgba(var(--c4-link), 0.15);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
    padding: 16px;
    position: absolute;
    top: 100%;
    /* left: -40px; */
    right: 0;
    z-index: -1;
    width: 150%;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
}

#investorStatusDescription.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.border-bottom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: rgba(var(--c5-bg-color1), 0.5);
    border-radius: 6px;
    overflow: hidden;
}

.border-bottom-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(var(--c1-link), 0.08);
    text-align: center;
    font-size: 13px;
}

.border-bottom-table tr.current-tier-highlight {
    background: rgba(var(--c1-link), 0.08);
    font-weight: 600;
}

.border-bottom-table tr.current-tier-highlight td {
    border-bottom: 2px solid rgba(var(--c1-link), 0.2);
    color: rgba(var(--c1-link), 1);
}

#nvPointsDiv {
    margin-top: 16px;
    text-align: center;
}

#nvPointsDiv p {
    margin: 8px 0;
    font-size: 13px;
    color: rgba(var(--c2-text), 0.9);
}

#nvPointsTable {
    margin: 12px 0;
    padding: 12px;
    background: rgba(var(--c3-bg-color1), 0.03);
    border-radius: 6px;
    border: 1px solid rgba(var(--c1-link), 0.08);
}

.nvPoints-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.nvPoints-table th {
    background: rgba(var(--c1-link), 0.8);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.nvPoints-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(var(--c1-link), 0.1);
    text-align: center;
}

.nvPoints-table tbody tr:hover {
    background: rgba(var(--c3-bg-color1), 0.05);
}

#viewPointsTable {
    color: rgba(var(--c1-link), 1);
    cursor: pointer;
    transition: color 0.3s ease;
}

#viewPointsTable:hover {
    color: rgba(var(--c1-link-hover), 1);
}

#viewPointsTableDropdownIcon {
    transition: transform 0.3s ease;
}

#investorStatusDropdownIcon {
    /* transition: transform 0.3s ease; */
    /* margin-left: 8px; */
    z-index: 99999;
}

#investorStatusDropdownIcon .icon {
    font-size: 16px;
    /* color: rgba(var(--c1-link), 0.7); */
    transition: all 0.3s ease;
}

#investorStatusDropdownIcon:hover .icon {
    color: rgba(var(--c1-link), 1);
} 

/* Responsive Design for Minimalist Layout */

/* Desktop (1024px and up) */
/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .account-dropdown-container {
        min-width: 280px;
        max-width: 340px;
    }
    
    .account-dropdown-toggle {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .member-profile-display {
        padding-right: 10px;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .account-dropdown-container {
        min-width: 260px;
        max-width: 320px;
    }
    
    .account-dropdown-toggle {
        padding: 6px 12px;
        font-size: 13px;
        gap: 8px;
    }
    
    .member-profile-display {
        padding-right: 8px;
    }
    
    .profile-icon-container {
        width: 32px;
        height: 32px;
    }

    .member-status-progress {
        padding: 6px 8px 4px;
        gap: 4px;
    }

    .member-status-progress__footer {
        gap: 12px;
    }

    .member-status-progress__icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .member-status-progress__tier {
        font-size: 9px;
    }

    #investorStatusDescription {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95%;
        max-width: 400px;
        max-height: 90vh;
        overflow: hidden;
        margin: 0;
    }
    
    #investorStatusDescription.show {
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 480px) {
    .member-status-progress {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .member-status-progress__footer {
        flex-direction: row;
        gap: 90px;
    }

    .member-status-progress__badge--next[data-tooltip]::after {
        right: 50%;
        transform: translate(50%, -4px);
        max-width: 180px;
        text-align: center;
    }

    .member-status-progress__badge--next[data-tooltip]::before {
        right: 50%;
        margin-right: -4px;
        transform: translate(50%, -4px) rotate(45deg);
    }
}