.user-dashboard-cards-root {
    background: transparent;
    border-radius: 1rem;
    min-height: 50vh;
}

.user-card {
    transition: transform 0.18s, box-shadow 0.18s;
    border-radius: 1.2rem;
    overflow: hidden;
    width: fit-content;
    max-width: 100%;
}

.user-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(30, 37, 44, 0.13);
    z-index: 2;
}

.gradient-blue {
    background: linear-gradient(120deg, #43cea2 0%, #185a9d 100%);
}

.gradient-green {
    background: linear-gradient(120deg, #11998e 0%, #38ef7d 100%);
}

.gradient-orange {
    background: linear-gradient(120deg, #f7971e 0%, #ffd200 100%);
}

.icon-bg {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(30, 37, 44, 0.07);
    color: #fffbe7;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header-flex {
    min-height: 54px;
}

.growth-badge {
    font-size: 1rem;
    padding: 0.5em 1em;
}

.badge-success {
    background: #38ef7d !important;
    color: #184d47 !important;
    box-shadow: 0 2px 8px rgba(56, 239, 125, 0.14);
}

.badge-danger {
    background: #f7971e !important;
    color: #fffbe7 !important;
    box-shadow: 0 2px 8px rgba(247, 151, 30, 0.14);
}

.btn-block {
    border-radius: 1.7rem;
    font-size: 1.08rem;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(30, 37, 44, 0.07);
    transition: background 0.18s, color 0.18s;
}

.btn-primary {
    background: linear-gradient(120deg, #43cea2 0%, #185a9d 100%);
    border: none;
}

.btn-success {
    background: linear-gradient(120deg, #11998e 0%, #38ef7d 100%);
    border: none;
}

.btn-warning {
    background: linear-gradient(120deg, #f7971e 0%, #ffd200 100%);
    border: none;
    color: #184d47 !important;
}

.btn-primary:hover,
.btn-success:hover,
.btn-warning:hover {
    filter: brightness(1.12);
    color: #fff !important;
}

.card-title {
    letter-spacing: 0.02em;
}

/* New Portfolio Dashboard CSS */
.portfolio-dashboard-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Nav Pills Container */
.portfolio-nav-container {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-nav-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.75rem;
}

.portfolio-nav-pills {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-nav-pill {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio-nav-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.portfolio-nav-pill:hover::before {
    left: 100%;
}

.portfolio-nav-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    border-color: #dee2e6;
}

.portfolio-nav-pill.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-color: #0b96f3;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    transform: translateY(-3px);
}

.portfolio-pill-icon {
    width: 45px;
    height: 45px;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.3rem;
    transition: all 0.25s ease;
}

.portfolio-nav-pill.active .portfolio-pill-icon {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.portfolio-pill-content {
    flex-grow: 1;
}

.portfolio-pill-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: inherit;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 12rem;
}

.portfolio-pill-value {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 7rem;
    overflow: hidden;
}

.portfolio-pill-arrow {
    font-size: 0.9rem;
    opacity: 0.6;
    transition: all 0.25s ease;
}

.portfolio-nav-pill:hover .portfolio-pill-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* Content Container */
.portfolio-content-container {
    background: #ffffff;
    border-radius: 1.2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Content Header */
.portfolio-content-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.portfolio-header-info {
    display: flex;
    align-items: center;
}

.portfolio-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.portfolio-header-details {
    flex-grow: 1;
}

.portfolio-header-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.portfolio-header-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.portfolio-net-asset {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.portfolio-growth {
    padding: 0.4rem 0.8rem;
    border-radius: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.portfolio-growth.positive {
    background: #d4edda;
    color: #155724;
}

.portfolio-growth.negative {
    background: #f8d7da;
    color: #721c24;
}

/* Table Container */
.portfolio-table-container {
    padding: 0;
    overflow-x: auto;
}

.portfolio-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.portfolio-data-table thead th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.portfolio-data-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.portfolio-data-table tbody tr:hover {
    background: #f8f9fa;
}

.portfolio-data-table tbody tr:last-child {
    border-bottom: none;
}

.portfolio-data-table td {
    padding: 1.2rem 1.5rem;
    vertical-align: middle;
}

.table-label {
    color: #495057;
    font-weight: 500;
}

.table-value {
    color: #2c3e50;
    font-weight: 600;
}

.table-change {
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    text-align: center;
    min-width: 80px;
}

.table-change.positive {
    background: #d4edda;
    color: #155724;
}

.table-change.negative {
    background: #f8d7da;
    color: #721c24;
}

.table-change.neutral {
    background: #e2e3e5;
    color: #495057;
}

/* Action Section */
.portfolio-action-section {
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.portfolio-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.8rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-action-btn:hover {
    transform: translateY(-2px);
    color: inherit;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.portfolio-action-btn i {
    transition: transform 0.25s ease;
}

.portfolio-action-btn:hover i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-dashboard-wrapper {
        padding: 1rem;
    }

    .portfolio-nav-container {
        margin-bottom: 1.5rem;
    }

    .portfolio-nav-pills {
        gap: 0.8rem;
    }

    .portfolio-nav-pill {
        padding: 1rem;
    }

    .portfolio-content-header {
        padding: 1.5rem;
    }

    .portfolio-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .portfolio-header-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .portfolio-data-table {
        font-size: 0.85rem;
    }

    .portfolio-data-table thead th,
    .portfolio-data-table td {
        padding: 0.8rem 1rem;
    }

    .portfolio-action-section {
        padding: 1.5rem;
    }
}

/* NEW: Wealth Builder Card Styles */
.wealth-builder-card {
    position: relative;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wealth-builder-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 35px 70px -12px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.wealth-card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.95;
}

.wealth-card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 300px 300px, 200px 200px, 150px 150px;
    animation: patternMove 20s linear infinite;
}

.wealth-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    animation: glowRotate 30s linear infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }

    100% {
        background-position: 300px 300px, -200px 200px, 150px -150px;
    }
}

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wealth-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    padding: 2rem;
}

.wealth-left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.wealth-visual-elements {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.wealth-decoration-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    border-radius: 1px;
    animation: lineGlow 3s ease-in-out infinite;
}

.line-1 {
    width: 60px;
    animation-delay: 0s;
}

.line-2 {
    width: 80px;
    animation-delay: 0.5s;
}

.line-3 {
    width: 40px;
    animation-delay: 1s;
}

@keyframes lineGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.wealth-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wealth-logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    animation: logoFloat 4s ease-in-out infinite;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.wealth-logo-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

/* Icon style for .wealth-logo-circle */
.wealth-logo-circle i {
    font-size: 2.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
    z-index: 2;
    transition: color 0.2s, text-shadow 0.2s;
}

/* RANK ĐỒNG */
.rank-bg-dong {
    background: linear-gradient(135deg, #b87333 0%, #955313 100%) !important;
}

.rank-text-dong {
    color: #b87333 !important;
    background: #ffffff !important;
}

.rank-icon-dong {
    color: #fffbe9 !important;
    text-shadow: 0 2px 6px #b8733340;
}

.wealth-logo-circle.rank-bg-dong::before {
    background: linear-gradient(135deg, #b87333, #955313);
}

/* RANK BẠC */
.rank-bg-bac {
    background: linear-gradient(135deg, #e8e8ea 0%, #b5b5bd 100%) !important;
}

.rank-text-bac {
    color: #444444 !important;
    background: #ffffff4b !important;
}

.rank-icon-bac {
    color: #ffffff !important;
    text-shadow: 0 2px 8px #b5b5bdcc;
}

.wealth-logo-circle.rank-bg-bac::before {
    background: linear-gradient(135deg, #e8e8ea, #b5b5bd);
}

/* BẠC LẤP LÁNH - hiệu ứng sparkle */
.rank-bg-bac.sparkle {
    position: relative;
    overflow: hidden;
}

.rank-bg-bac.sparkle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/sparkle.gif');
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* RANK VÀNG */
.rank-bg-vang {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
}

.rank-text-vang {
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.10) !important;
}

.rank-icon-vang {
    color: #1e3a8a !important;
    text-shadow: 0 2px 8px #fbbf2440;
}

.wealth-logo-circle.rank-bg-vang::before {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

/* RANK KIM CƯƠNG */
.rank-bg-kimcuong {
    background: linear-gradient(135deg, #b8f1f1 0%, #a0c4ff 100%) !important;
}

.rank-text-kimcuong {
    color: #00c3ff !important;
    /* xanh đậm */
    background: rgb(255, 255, 255) !important;
    /* xanh nhạt làm nền */
}

.rank-icon-kimcuong {
    color: #00b4d8 !important;
    /* biểu tượng xanh ánh platinum */
    text-shadow: 0 2px 8px rgba(0, 180, 216, 0.6);
}

.wealth-logo-circle.rank-bg-kimcuong::before {
    background: linear-gradient(135deg, #b8f1f1, #a0c4ff);
}

/* RANK BẠCH KIM */
.rank-bg-bachkim {
    background: linear-gradient(135deg, #146600 0%, #1eff00 100%) !important;
    /* nền xanh ánh bạc */
    color: #003b73 !important;
    /* chữ tối nổi bật trên nền sáng */
}

.rank-text-bachkim {
    color: #33ff00 !important;
    background: rgba(255, 255, 255, 0.199) !important;
}

.rank-icon-bachkim {
    color: #33ff00 !important;
    text-shadow: 0 2px 12px #3b82f699;
    /* ánh sáng nhẹ */
}

.wealth-logo-circle.rank-bg-bachkim::before {
    background: linear-gradient(135deg, #146600 0%, #1eff00 100%);
}

.wealth-logo-circle.sparkle {
    position: relative;
    overflow: hidden;
}

/* Một sparkle dạng phi tiêu */
.wealth-logo-circle.sparkle .sparkle-pseudo {
    position: absolute;
    width: 12px;
    height: 12px;
    z-index: 2;
    animation: sparkle-shimmer 2s infinite ease-in-out;
    transform-origin: center;
}

/* Tạo 4 cánh phi tiêu bằng pseudo-elements */
.wealth-logo-circle.sparkle .sparkle-pseudo::before,
.wealth-logo-circle.sparkle .sparkle-pseudo::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 8px;
    background: #fff;
    border-radius: 1px;
    top: 2px;
    left: 5px;
    transform-origin: center;
}

.wealth-logo-circle.sparkle .sparkle-pseudo::after {
    transform: rotate(90deg);
}

/* Vị trí + delay cho từng sparkle */
.wealth-logo-circle.sparkle .sparkle-pseudo:nth-child(2) {
    left: 25px;
    top: 20px;
    animation-delay: 0s;
}

.wealth-logo-circle.sparkle .sparkle-pseudo:nth-child(3) {
    left: 55px;
    top: 15px;
    animation-delay: 0.5s;
}

.wealth-logo-circle.sparkle .sparkle-pseudo:nth-child(4) {
    left: 45px;
    top: 55px;
    animation-delay: 1.2s;
}

/* Hiệu ứng to nhỏ + xoay */
@keyframes sparkle-shimmer {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.4) rotate(0deg);
    }

    25% {
        opacity: 1;
        transform: scale(1.1) rotate(45deg);
    }

    75% {
        opacity: 0.6;
        transform: scale(0.6) rotate(90deg);
    }
}


@keyframes logoFloat {

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

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

@keyframes pulse {

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

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

.wealth-right-section {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 2rem;
}

.wealth-brand {
    text-align: left;
    margin-bottom: 1.5rem;
}

.wealth-brand-text {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.rank-info {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    font-size: 1.1rem;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
    border: none;
    min-width: 70px;
    text-align: center;
}

.wealth-brand-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.wealth-icons-row {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.wealth-icon-container {
    display: flex;
    align-items: center;
}

.wealth-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coin-icon {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
    color: #fbbf24;
    animation: coinSpin 4s linear infinite;
}

.wifi-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(203, 213, 225, 0.05));
    color: #22d3ee;
    /*animation: wifiPulse 2s ease-in-out infinite; */
}

.wealth-icon-wrapper:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.wealth-icon-wrapper i {
    font-size: 1.2rem;
}

@keyframes coinSpin {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes wifiPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.wealth-info-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    margin-bottom: 1rem;
}

.wealth-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wealth-info-label {
    font-size: 1rem;
    color: #ffd53d;
    font-weight: 770;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wealth-info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wealth-info-item .wealth-info-value {
    font-size: 1.2rem;
    font-weight: 600;

}

.wealth-info-item:first-child .wealth-info-value {
    font-size: 1.6rem;
    font-weight: 650;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    background-clip: text;
}

.wealth-status-indicator {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #22d3ee;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(34, 211, 238, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wealth-builder-card {
        height: auto;
        min-height: 240px;
    }

    .wealth-card-content {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .wealth-left-section {
        flex: none;
        order: 2;
    }

    .wealth-right-section {
        flex: none;
        order: 1;
        padding-left: 0;
    }

    .wealth-brand {
        text-align: center;
        margin-bottom: 1rem;
    }

    .wealth-brand-text {
        font-size: 2rem;
    }

    .wealth-icons-row {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .wealth-info-section {
        text-align: center;
    }

    .wealth-status-indicator {
        justify-content: center;
    }

    .wealth-logo-circle {
        width: 60px;
        height: 60px;
    }

    .wealth-logo-circle i {
        font-size: 1.5rem;
    }
}

/* Laptop */
@media (min-width: 1281px) and (max-width: 1750px) {
    .card-title {
        font-size: 1.5rem;
    }

    .wealth-brand-text {
        font-size: 2.2rem;
    }

    .portfolio-pill-value {
        max-width: 5.6rem;
    }

    .portfolio-pill-label {
        max-width: 8rem;
    }
}

/* Footer */
.dashboard-footer {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Status Card Class */

.statusactive {
    background: linear-gradient(135deg,
            #1e3a8a 0%,
            #3b82f6 25%,
            #1e40af 50%,
            #1e3a8a 75%,
            #172554 100%);
}

.statusdotactive {
    background: #1dfc00;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
}

.statusbackgroundactive {
    background-image:
        radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.statusinactive {
    background: linear-gradient(135deg,
            #1e3a8a 0%,
            #3b82f6 25%,
            #1e40af 50%,
            #1e3a8a 75%,
            #172554 100%);
}

.statussubtitlecoloractive {
    color: #303030;
}

.statusdotinactive {
    background: #ffc400;
    box-shadow: 0 0 0 0 rgba(58, 44, 4, 0.7);
}

.statusbackgroundinactive {
    background-image: transparent;
}

.statussubtitlecolorinactive {
    color: #303030;
}

.statuslocked {
    background: linear-gradient(135deg,
            #23272f 0%,
            #343942 50%,
            #23272f 100%);
}

.statusdotlocked {
    background: #ff3b3b;
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.5);
}

.statusbackgroundlocked {
    background-image: radial-gradient(circle at 20% 20%, rgba(63, 63, 63, 0.185) 0%, transparent 50%);
}

.statussubtitlecolorlocked {
    color: #ffffff;
}

@media screen and (min-width: 1280px) and (max-width: 1750px) {
    .portfolio-pill-icon {
        border-radius: 50%;
        padding: 15px;
    }

    .portfolio-nav-pill {
        padding: 1.2rem 2rem 1.2rem 1.2rem;
        /* Tăng padding-right để tạo khoảng cách */
    }

    .portfolio-pill-content {
        max-width: 70%;
        /* Giới hạn chiều rộng để dành chỗ cho icon mũi tên */
        flex-grow: 1;
        /* Cho phép phần tử này co giãn nhưng không vượt quá */
    }

    .portfolio-pill-arrow {
        margin-right: 10px;
        /* Khoảng cách bên phải, giờ sẽ nằm trong khối cha */
    }
}