
/* prive login page css */
.prive-page .login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.prive-page .login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
}

.prive-page .login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.prive-page .login-left {
    background: #1a1a1a;
    padding: 60px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prive-page .login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.prive-page .login-left .z-index-1,
.prive-page .login-left .position-relative.z-index-1 {
    position: relative;
    z-index: 1;
}

.prive-page .login-right {
    padding: 60px 50px;
    background: white;
}

.prive-page .login-logo {
    max-width: 180px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.prive-page .form-control {
    padding: 14px 20px;
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    background-color: #ffffff;
    overflow: visible;
    text-overflow: ellipsis;
}

.prive-page .form-select {
    padding: 14px 20px;
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.prive-page .form-control:focus {
    border-color: #000000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
}

/* Keep background white when autofilled */
.prive-page .form-control:-webkit-autofill,
.prive-page .form-control:-webkit-autofill:hover,
.prive-page .form-control:-webkit-autofill:focus,
.prive-page .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #000000 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.prive-page .form-floating label {
    padding: 1rem 1.25rem;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

/* Change label color when input has focus or value */
.prive-page .form-floating .form-control:focus ~ label,
.prive-page .form-floating .form-control:not(:placeholder-shown) ~ label {
    color: #000000;
}

.prive-page .btn-login {
    padding: 14px 40px;
    border-radius: 10px;
    font-weight: 600;
    background: #000000;
    border: none;
    color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prive-page .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #1a1a1a;
    color: white;
}

@media (max-width: 576px) {
    .prive-page .btn-login {
        padding: 12px 30px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .prive-page .btn-outline-dark {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .prive-page .login-right {
        padding: 30px 20px;
    }
    
    .prive-page .toggle-switch {
        width: 260px;
        height: 46px;
    }
    
    .prive-page .toggle-slider {
        width: 126px;
        height: 38px;
    }
    
    .prive-page .toggle-switch.otp-mode .toggle-slider {
        transform: translateX(126px);
    }
    
    .prive-page .toggle-label-left,
    .prive-page .toggle-label-right {
        font-size: 13px;
    }
    
    .prive-page .toggle-label-right {
        right: 35px;
    }
    
    .prive-page h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 380px) {
    .prive-page .login-right {
        padding: 25px 15px;
    }
    
    .prive-page .toggle-switch {
        width: 240px;
        height: 44px;
    }
    
    .prive-page .toggle-slider {
        width: 116px;
        height: 36px;
    }
    
    .prive-page .toggle-switch.otp-mode .toggle-slider {
        transform: translateX(116px);
    }
    
    .prive-page .toggle-label-left,
    .prive-page .toggle-label-right {
        font-size: 12px;
    }
    
    .prive-page .toggle-label-right {
        right: 30px;
    }
}


/* prive Dashboard Custom CSS */


/* Dashboard Specific Styles - Black & White Theme */
.prive-page .dashboard-header {
    background: #1a1a1a;
    color: white;
    padding: 1rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: visible;
    z-index: 1000;
}

.prive-page .password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    z-index: 10;
}

.prive-page .password-toggle:hover {
    color: #000000;
}

.prive-page .text-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}

.prive-page .text-link:hover {
    color: #333;
    text-decoration: underline;
}

.prive-page .alert-info {
    background-color: #e7f3ff;
    border-color: #b3d9ff;
    color: #004085;
    border-radius: 10px;
}

/* OTP Input Boxes */
.prive-page .otp-box-wrapper {
    background-color: #f8f9fa;
    border: 2px solid #e8e8e8;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.prive-page .otp-label {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
}

.prive-page .otp-inputs-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
}

.prive-page .otp-input-box {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid #e8e8e8;
    background: transparent;
    transition: all 0.3s ease;
    outline: none;
}

.prive-page .otp-input-box:focus {
    border-bottom-color: #000000;
}

.prive-page .otp-input-box:not(:placeholder-shown) {
    border-bottom-color: #000000;
}

/* Mobile responsive styles */
@media (max-width: 576px) {
    .prive-page .otp-box-wrapper {
        padding: 15px 10px;
    }
    
    .prive-page .otp-inputs-container {
        gap: 6px;
    }
    
    .prive-page .otp-input-box {
        width: 38px;
        height: 48px;
        font-size: 20px;
    }
    
    .prive-page .otp-label {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .prive-page .email-sent-info {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .prive-page .resend-otp-link {
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .prive-page .otp-inputs-container {
        gap: 4px;
    }
    
    .prive-page .otp-input-box {
        width: 34px;
        height: 45px;
        font-size: 18px;
    }
}

/* Email sent message */
.prive-page .email-sent-info {
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.prive-page .email-sent-info .email-address {
    color: #000000;
    font-weight: 600;
    word-break: break-all;
}

.prive-page .email-sent-info .text-muted {
    color: #666;
}

.prive-page .email-sent-info i {
    font-size: 16px;
}

/* Resend OTP Link */
.prive-page .resend-otp-link {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.prive-page .resend-otp-link a {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.prive-page .resend-otp-link a:hover:not(.disabled) {
    color: #333;
    text-decoration: underline;
}

.prive-page .resend-otp-link a.disabled {
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.prive-page .resend-otp-link .timer {
    color: #666;
    font-weight: normal;
}

/* Hide password options in OTP mode */
.prive-page .hide-password-options {
    display: none !important;
}

/* Toggle Switch Styles */
.prive-page .toggle-switch-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.prive-page .toggle-switch {
    position: relative;
    width: 280px;
    height: 50px;
    background-color: #e8e8e8;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e8e8e8;
}

.prive-page .toggle-switch:hover {
    border-color: #000000;
}

.prive-page .toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 136px;
    height: 42px;
    background-color: #000000;
    border-radius: 21px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prive-page .toggle-switch.otp-mode .toggle-slider {
    transform: translateX(136px);
}

/* Labels inside toggle */
.prive-page .toggle-label-left {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 1;
}

.prive-page .toggle-label-right {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 1;
}

/* When in OTP mode, swap label colors */
.prive-page .toggle-switch.otp-mode .toggle-label-left {
    color: #666;
}

.prive-page .toggle-switch.otp-mode .toggle-label-right {
    color: white;
}

@media (max-width: 991px) {
    .prive-page .login-left {
        padding: 40px 30px;
    }
    
    .prive-page .login-right {
        padding: 40px 30px;
    }
}

.prive-page .dashboard-header .container-fluid {
    overflow: visible;
}

.prive-page .dashboard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.prive-page .user-welcome {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.prive-page .user-email {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.prive-page .dashboard-logo {
    height: 50px;
    width: auto;
    position: relative;
    z-index: 1;
}

/* Profile Section */
.prive-page .profile-section {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.prive-page .profile-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.prive-page .profile-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.prive-page .profile-photo {
    position: relative;
    flex-shrink: 0;
}

.prive-page .profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prive-page .profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prive-page .avatar-initials {
    color: white;
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    user-select: none;
}

.prive-page .profile-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #28a745;
    border: 3px solid white;
    border-radius: 50%;
}

.prive-page .profile-info {
    flex: 1;
}

.prive-page .profile-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.prive-page .profile-title {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0 0 1rem 0;
}

.prive-page .profile-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prive-page .profile-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6c757d;
    font-size: 0.95rem;
}

.prive-page .profile-detail-item i {
    width: 16px;
    color: #1a1a1a;
}

.prive-page .profile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.prive-page .btn-profile-action {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.prive-page .btn-profile-action:hover {
    background: #333;
    transform: translateY(-2px);
}

.prive-page .btn-profile-action:last-child {
    background: #007bff;
}

.prive-page .btn-profile-action:last-child:hover {
    background: #0056b3;
}

.prive-page .profile-stats {
    display: flex;
    padding: 0.5rem 0rem;
    background: #f8f9fa;
}

.prive-page .stat-item {
    flex: 1;
    text-align: center;
    padding: 0 0.5rem;
    min-width: 0;
}

.prive-page .stat-item:not(:last-child) {
    border-right: 1px solid #e9ecef;
}

.prive-page .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.prive-page .stat-label {
    font-size: 0.65rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile menu button styles moved to consolidated section below */

.prive-page .user-welcome-mobile {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.prive-page .user-email-mobile {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.prive-page .logout-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.prive-page .logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* Profile Dropdown Styles */
.prive-page .profile-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1001;
}

.prive-page .profile-avatar-wrapper {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.prive-page .profile-avatar-wrapper:hover {
    transform: scale(1.05);
}

.prive-page .profile-avatar-wrapper:active {
    transform: scale(0.95);
}

.prive-page .profile-avatar-wrapper .profile-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.prive-page .profile-avatar-wrapper .avatar-initials {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.prive-page .profile-avatar-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.prive-page .profile-status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #28a745;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.prive-page .profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 280px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0;
}

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

.prive-page .profile-dropdown-header {
    padding: 15px;
    background: #1a1a1a;
    border-radius: 12px 12px 0 0;
    color: white;
}

.prive-page .profile-dropdown-header .profile-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: white;
    text-align: left;
}

.prive-page .profile-dropdown-header .profile-email {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    color: white;
}

.prive-page .profile-dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 0;
}

.prive-page .profile-dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    color: #495057;
}

.prive-page .profile-dropdown-item:hover {
    background: #f8f9fa;
    color: #212529;
}

.prive-page .profile-dropdown-item i {
    width: 20px;
    margin-right: 12px;
    color: #6c757d;
    font-size: 0.9rem;
}

.prive-page .profile-dropdown-item.logout-item {
    color: #dc3545;
}

.prive-page .profile-dropdown-item.logout-item:hover {
    background: #f8d7da;
    color: #721c24;
}

.prive-page .profile-dropdown-item.logout-item i {
    color: #dc3545;
}


.prive-page .mobile-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.prive-page .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.05);
}

.prive-page .mobile-menu-btn:active {
    transform: scale(0.95);
}



/* Mobile responsive adjustments */
@media (max-width: 576px) {
    .prive-page .profile-dropdown-menu {
        min-width: 220px;
        right: -10px;
    }
    
    .prive-page .mobile-menu-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prive-page .profile-avatar-img {
        width: 35px;
        height: 35px;
    }
    
    .prive-page .profile-avatar-wrapper .profile-avatar {
        width: 35px;
        height: 35px;
    }
    
    .prive-page .profile-avatar-wrapper .avatar-initials {
        font-size: 14px;
    }
    
    .prive-page .profile-status-indicator {
        width: 8px;
        height: 8px;
    }
}

/* Filter Section */
.prive-page .filter-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.prive-page .filter-row {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.prive-page .filter-group {
    flex: 1;
    min-width: 200px;
}

.prive-page .filter-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.prive-page .filter-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.prive-page .filter-input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.prive-page .filter-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prive-page .filter-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.prive-page .clear-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prive-page .clear-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Investment Cards - Vertical Layout */
.prive-page .investment-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.prive-page .investment-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: visible;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #c9c9c9;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 0;
}

.prive-page .investment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.prive-page .card-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.prive-page .card-content {
    flex: 1;
    padding: 0;
    overflow: visible;
}

.prive-page .card-header-prive {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.prive-page .investment-type {
    position: absolute;
    top: 1rem;
    background: #1a1a1a;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.prive-page .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.prive-page .card-location {
    color: #6c757d;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.prive-page .card-location i {
    margin-right: 0.5rem;
}

.prive-page .investment-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.prive-page .detail-item {
    text-align: left;
}

.prive-page .detail-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 500;
}

.prive-page .detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.prive-page .card-description {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prive-page .card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.prive-page .feature-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid #e9ecef;
}

.prive-page .card-actions {
    display: flex;
    gap: 0.75rem;
    margin-left: auto;
    flex-shrink: 0;
}

.prive-page .bookmark-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e9ecef;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.prive-page .bookmark-icon:hover {
    background: #1a1a1a;
    color: white;
    transform: scale(1.1);
}

.prive-page .bookmark-icon.bookmarked {
    background: #1a1a1a;
    color: white;
}

.prive-page .view-count-icon {
    position: absolute;
    top: 1rem;
    right: 4rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e9ecef;
    border-radius: 20px;
    height: 35px;
    padding: 0 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
    font-size: 0.875rem;
    color: #666;
}

.prive-page .view-count-icon i {
    font-size: 1rem;
}

.prive-page .view-count-number {
    font-weight: 500;
    color: #1a1a1a;
}

.prive-page .btn-primary-custom {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
}

.prive-page .btn-primary-custom:hover {
    background: #333;
    color: white;
    transform: translateY(-1px);
}

.prive-page .btn-outline-custom {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-left: 1px solid #1a1a1a;
    border-right: 1px solid #1a1a1a;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
}

.prive-page .btn-outline-custom:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-1px);
}

.prive-page .btn-skip-custom {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
}

.prive-page .btn-skip-custom:hover {
    background: #5a6268;
    color: white;
    transform: translateY(-1px);
}

/* No Results */
.prive-page .no-results {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.prive-page .no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .prive-page .filter-row {
        flex-direction: column;
    }

    .prive-page .filter-group {
        min-width: 100%;
    }

    .prive-page .investment-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        overflow: visible;
    }

    .prive-page .card-image {
        width: 100px;
        height: 100px;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .prive-page .investment-details {
        justify-content: center;
        gap: 1rem;
    }

    .prive-page .card-actions {
        flex-direction: column;
        margin-left: 0;
        margin-top: 1rem;
    }

    .prive-page .btn-primary-custom,
    .prive-page .btn-outline-custom {
        width: 100%;
    }
    
    /* Profile page form fixes */
    .prive-page .form-floating label {
        font-size: 0.82rem;
        max-width: 87%;
    }
}

/* Loading State */
.prive-page .loading {
    text-align: center;
    padding: 2rem;
}

.prive-page .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1a1a1a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

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

/* Blog Post Styles */
.prive-page .col-lg-8.mb-5 article,
.prive-page .col-lg-8.mb-5 .card,
.prive-page .col-lg-8.mb-5 .card-body {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

/* Profile page card fixes */
.prive-page .card {
    overflow: visible;
}

.prive-page .card-body {
    overflow: visible;
}

.prive-page .row {
    overflow: visible;
}

/* Sidebar Styles */
.prive-page .sidebar-prive {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    height: fit-content;
    position: sticky;
    top: 2rem;
    padding: 0;
}

/* Sidebar Profile */
.prive-page .sidebar-profile {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
    overflow: hidden;
}

.prive-page .sidebar-profile .profile-photo {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    vertical-align: top;
}

.prive-page .sidebar-profile .profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prive-page .sidebar-profile .profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prive-page .sidebar-profile .avatar-initials {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    user-select: none;
}

.prive-page .sidebar-profile .profile-status {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: #28a745;
    border: 2px solid white;
    border-radius: 50%;
}

.prive-page .sidebar-profile .profile-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    display: inline-block;
    vertical-align: top;
    margin-left: 1rem;
    margin-top: 0.5rem;
    max-width: calc(100% - 80px);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prive-page .sidebar-profile .profile-info {
    margin-top: 0.5rem;
    clear: both;
}

.prive-page .sidebar-profile .profile-title {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0 0 0.5rem 0;
}

.prive-page .sidebar-profile .profile-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.prive-page .sidebar-profile .profile-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.8rem;
    justify-content: flex-start;
    word-break: break-word;
    overflow-wrap: break-word;
}

.prive-page .sidebar-profile .profile-detail-item i {
    width: 12px;
    color: #1a1a1a;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.prive-page .sidebar-profile .profile-detail-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.prive-page .sidebar-profile .profile-stats {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.prive-page .sidebar-profile .stat-item {
    flex: 1;
    text-align: center;
}

.prive-page .sidebar-profile .stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.prive-page .sidebar-profile .stat-label {
    font-size: 0.65rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prive-page .sidebar-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.prive-page .sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.prive-page .sidebar-nav {
    padding: 0.5rem 0;
}

.prive-page .sidebar-nav .nav-item {
    margin-bottom: 0.125rem;
}

.prive-page .sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    text-align: left;
    position: relative;
    border-radius: 6px;
    margin: 0 0.5rem;
}

.prive-page .sidebar-nav .nav-link:hover {
    background: #f8f9fa;
    color: #1a1a1a;
}

.prive-page .sidebar-nav .nav-link.active {
    background: #1a1a1a !important;
    color: white !important;
    font-weight: 600;
}

.prive-page .sidebar-nav .nav-link.active:hover {
    background: #1a1a1a !important;
    color: white !important;
}


.prive-page .sidebar-nav .nav-link i {
    width: 20px;
    text-align: center;
}

.prive-page .submenu {
    background: #f8f9fa;
    margin: 0;
    padding: 0.5rem 0;
    border-radius: 0 0 10px 10px;
    display: none;
}

.prive-page .submenu .nav-link {
    padding: 0.375rem 1rem 0.375rem 2.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0 0.5rem;
    border-radius: 6px;
}

.prive-page .submenu .nav-link:hover {
    background: #e9ecef;
    color: #1a1a1a;
}

.prive-page .submenu .nav-link.active {
    background: #1a1a1a !important;
    color: white !important;
}

.prive-page .submenu .nav-link.active:hover {
    background: #1a1a1a !important;
    color: white !important;
}

.prive-page .nav-item.has-submenu .nav-link {
    position: relative;
}

.prive-page .nav-item.has-submenu .nav-link i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.prive-page .nav-item.has-submenu.open .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

.prive-page .nav-item.has-submenu.open .submenu {
    display: block;
}


.prive-page .dashboard-logo {
    max-width: 180px;
    /* margin-bottom: 20px; */
    filter: brightness(0) invert(1);
}

/* Mobile Sidebar */
.prive-page .mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 1050;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.prive-page .mobile-sidebar.show {
    left: 0;
}

.prive-page .mobile-sidebar-content {
    height: 100%;
    overflow-y: auto;
}

.prive-page .mobile-sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: end;
    align-items: center;
    background: #1a1a1a;
    color: white;
}

.prive-page .mobile-sidebar-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.prive-page .mobile-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 0.25rem;
    cursor: pointer;
}

/* Mobile Overlay */
.prive-page .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.prive-page .mobile-overlay.show {
    display: block;
}

/* Responsive Padding */
.prive-page .responsive-padding {
    --bs-gutter-x: 20.5rem;
    /* Default for large screens */
    transition: all 0.3s ease;
}

/* Extra large screens (1600px and up) */
@media (min-width: 1600px) {
    .prive-page .responsive-padding {
        --bs-gutter-x: 20.5rem;
    }
}

/* Extra large screens (1400px to 1599px) */
@media (min-width: 1400px) and (max-width: 1599px) {
    .prive-page .responsive-padding {
        --bs-gutter-x: 20.5rem;
    }
}

/* Large screens (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .prive-page .responsive-padding {
        --bs-gutter-x: 20.5rem;
    }
}

/* Medium screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .prive-page .responsive-padding {
        --bs-gutter-x: 10rem;
    }
    
    .prive-page .provider-field .field-label {
        min-width: 88px;
        font-size: 12px;
    }
    
    .prive-page .provider-field .field-value {
        font-size: 14px;
    }
    
    .prive-page .provider-aside {
        min-width: 190px;
    }
}

/* Small screens (768px to 991px) - Tablet View */
@media (min-width: 768px) and (max-width: 991px) {
    .prive-page .responsive-padding {
        --bs-gutter-x: 3rem;
    }
    
    .prive-page .sidebar-profile .stat-label {
        font-size: 0.53rem;
    }
    
    .prive-page .sidebar-profile .stat-number {
        font-size: 1.05rem;
    }
    
    .prive-page .sidebar-profile {
        padding: 1rem;
    }
    
    .prive-page .sidebar-profile .profile-detail-item {
        font-size: 0.72rem;
    }
    
    .prive-page .sidebar-profile .profile-detail-item span {
        font-size: 0.72rem;
    }
    
    /* Profile page form fixes for tablets */
    .prive-page .form-floating label {
        font-size: 0.8rem;
        max-width: 88%;
    }
    
    /* Investment card column adjustments for tablets */
    .prive-page .investment-card .row {
        display: flex;
        flex-wrap: nowrap;
    }
    
    .prive-page .investment-card .col-md-8 {
        flex: 0 0 58%;
        max-width: 58%;
    }
    
    .prive-page .investment-card .col-md-4 {
        flex: 0 0 42%;
        max-width: 42%;
    }
    
    .prive-page .provider-aside {
        min-width: auto;
        padding-left: 10px;
        gap: 6px;
        padding-top: 0;
    }
    
    .prive-page .provider-field {
        gap: 4px;
        align-items: flex-start;
    }
    
    .prive-page .provider-field .field-label {
        min-width: 62px;
        max-width: 62px;
        font-size: 9px;
        letter-spacing: 0px;
        line-height: 1.2;
    }
    
    .prive-page .provider-field .field-value {
        font-size: 10.5px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }
    
    .prive-page .btn-outline-custom {
        font-size: 0.65rem;
        padding: 0.35rem 0.4rem;
        white-space: normal;
        line-height: 1.2;
        min-height: 30px;
        border: 2px solid #1a1a1a !important;
        border-left: 2px solid #1a1a1a !important;
        border-right: 2px solid #1a1a1a !important;
        border-top: 2px solid #1a1a1a !important;
        border-bottom: 2px solid #1a1a1a !important;
        box-sizing: border-box;
        outline: 1px solid #1a1a1a;
        outline-offset: -1px;
    }
    
    .prive-page .provider-fields-wrapper {
        gap: 4px;
    }
    
    .prive-page .provider-desc {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
    }
    
    .prive-page .provider-name {
        font-size: 13.5px;
    }
    
    .prive-page .provider-avatar {
        width: 44px;
        height: 44px;
    }
    
    .prive-page .provider-services {
        font-size: 12px;
    }
    
    .prive-page .view-count-icon {
        right: 3.5rem;
        height: 30px;
        padding: 0 0.6rem;
        font-size: 0.8rem;
    }
    
    .prive-page .bookmark-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .prive-page .investment-card {
        padding: 1.2rem;
    }
}

/* Extra small screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .prive-page .responsive-padding {
        --bs-gutter-x: 3rem;
    }
}

/* Very small screens (below 576px) */
@media (max-width: 575px) {
    .prive-page .responsive-padding {
        --bs-gutter-x: 1rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .prive-page .profile-section {
        padding: 1rem 0;
    }

    .prive-page .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .prive-page .sidebar-profile {
        text-align: center;
    }

    .prive-page .sidebar-profile .profile-name {
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .prive-page .sidebar-profile .profile-info {
        margin-top: 0.5rem;
    }
    
    .prive-page .sidebar-profile .stat-label {
        font-size: 0.6rem;
    }

    .prive-page .profile-img {
        width: 80px;
        height: 80px;
    }

    .prive-page .profile-name {
        font-size: 1.5rem;
    }

    .prive-page .profile-title {
        font-size: 1rem;
    }

    .prive-page .profile-details {
        align-items: center;
    }

    .prive-page .profile-actions {
        flex-direction: row;
        justify-content: center;
    }

    .prive-page .btn-profile-action {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .prive-page .profile-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .prive-page .stat-item {
        padding: 0.75rem 0;
    }

    .prive-page .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .prive-page .stat-number {
        font-size: 1.25rem;
    }

    .prive-page .investment-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin-bottom: 1rem;
        overflow: visible;
    }

    .prive-page .card-image {
        width: 100px;
        height: 100px;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .prive-page .investment-details {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .prive-page .card-actions {
        flex-direction: column;
        margin-left: 0;
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .prive-page .btn-primary-custom,
    .prive-page .btn-outline-custom,
    .prive-page .btn-skip-custom {
        width: 100%;
        padding: 0.75rem;
    }
    
    .prive-page .btn-outline-custom {
        border: 2px solid #1a1a1a !important;
        border-left: 2px solid #1a1a1a !important;
        border-right: 2px solid #1a1a1a !important;
        border-top: 2px solid #1a1a1a !important;
        border-bottom: 2px solid #1a1a1a !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        outline: 1px solid #1a1a1a;
        outline-offset: -1px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .prive-page .bookmark-icon {
        top: 0.5rem;
        right: 0.5rem;
        width: 30px;
        height: 30px;
    }

    .prive-page .view-count-icon {
        top: 0.5rem;
        right: 3rem;
        height: 30px;
        padding: 0 0.6rem;
        font-size: 0.75rem;
    }

    .prive-page .view-count-icon i {
        font-size: 0.875rem;
    }

    .prive-page .card-title {
        font-size: 1rem;
    }

    .prive-page .card-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

@media (max-width: 576px) {
    .prive-page .dashboard-header {
        padding: 1rem 0;
    }

    .prive-page .dashboard-logo {
        height: 40px;
    }

    .prive-page .user-welcome-mobile {
        font-size: 1rem;
    }

    .prive-page .user-email-mobile {
        font-size: 0.8rem;
    }

    .prive-page .profile-section {
        padding: 0.5rem 0;
    }

    .prive-page .profile-header {
        padding: 1rem;
        gap: 1rem;
    }

    .prive-page .sidebar-profile {
        padding: 1rem;
    }

    .prive-page .sidebar-profile .profile-name {
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .prive-page .sidebar-profile .profile-info {
        margin-top: 0.5rem;
    }
    
    .prive-page .sidebar-profile .stat-label {
        font-size: 0.52rem;
    }

    .prive-page .profile-img {
        width: 80px;
        height: 80px;
    }

    .prive-page .profile-name {
        font-size: 1.25rem;
    }

    .prive-page .profile-title {
        font-size: 0.9rem;
    }

    .prive-page .profile-detail-item {
        font-size: 0.85rem;
    }

    .prive-page .profile-actions {
        flex-direction: column;
        width: 100%;
    }

    .prive-page .btn-profile-action {
        width: 100%;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .prive-page .profile-stats {
        padding: 0.75rem;
    }

    .prive-page .stat-number {
        font-size: 1.1rem;
    }

    .prive-page .stat-label {
        font-size: 0.52rem;
    }
    
    .prive-page .sidebar-profile .profile-detail-item span {
        font-size: 0.75rem;
    }

    .prive-page .investment-card {
        padding: 0.75rem;
        overflow: visible;
    }

    .prive-page .card-image {
        width: 70px;
        height: 70px;
    }

    .prive-page .investment-details {
        gap: 0.75rem;
    }

    .prive-page .detail-label {
        font-size: 0.7rem;
    }

    .prive-page .detail-value {
        font-size: 0.8rem;
    }
    
    /* Profile page specific fixes */
    .prive-page .form-floating label {
        font-size: 0.75rem;
        max-width: 85%;
    }
    
    .prive-page .card {
        overflow: visible !important;
    }
    
    .prive-page .card-body {
        overflow: visible !important;
    }
}

/* prive Detail Page Styles */
.prive-page .prive-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.prive-page .prive-detail-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.prive-page .detail-header {
    padding: 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.prive-page .detail-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.prive-page .detail-category {
    background: #1a1a1a;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.prive-page .detail-date {
    background: #6c757d;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.prive-page .detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.prive-page .detail-author {
    color: #6c757d;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.prive-page .detail-image {
    padding: 2rem;
    text-align: center;
}

.prive-page .detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.prive-page .detail-summary {
    padding: 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.prive-page .detail-summary h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.prive-page .detail-summary p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

.prive-page .detail-content {
    padding: 2rem;
}

.prive-page .detail-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.prive-page .content-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
}

/* HTML content styling */
.prive-page .content-body h1,
.prive-page .content-body h2,
.prive-page .content-body h3,
.prive-page .content-body h4,
.prive-page .content-body h5,
.prive-page .content-body h6 {
    color: #1a1a1a;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prive-page .content-body h1 { font-size: 1.8rem; }
.prive-page .content-body h2 { font-size: 1.5rem; }
.prive-page .content-body h3 { font-size: 1.3rem; }
.prive-page .content-body h4 { font-size: 1.1rem; }
.prive-page .content-body h5 { font-size: 1rem; }
.prive-page .content-body h6 { font-size: 0.9rem; }

.prive-page .content-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: smaller;
    color: #374151;

}

.prive-page .content-body ul,
.prive-page .content-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prive-page .content-body li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: smaller;
}

.prive-page .content-body strong,
.prive-page .content-body b {
    font-weight: 600;
    color: #1a1a1a;
}

.prive-page .content-body em,
.prive-page .content-body i {
    font-style: italic;
}

.prive-page .content-body blockquote {
    border-left: 4px solid #1a1a1a;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

.prive-page .content-body a {
    color: #007bff;
    text-decoration: none;
}

.prive-page .content-body a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.prive-page .content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.prive-page .content-body th,
.prive-page .content-body td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.prive-page .content-body th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a;
}

.prive-page .content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.prive-page .content-body code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e83e8c;
}

.prive-page .content-body pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.prive-page .content-body pre code {
    background: none;
    padding: 0;
    color: #495057;
}

.prive-page .detail-meta-info {
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.prive-page .detail-meta-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.prive-page .meta-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #495057;
}

.prive-page .meta-content pre {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow-x: auto;
    font-size: 0.85rem;
}

.prive-page .detail-actions {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    border-top: 1px solid #e9ecef;
}

.prive-page .detail-actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.prive-page .detail-actions .btn:hover {
    transform: translateY(-2px);
}

/* Breadcrumb Styles */
.prive-page .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.prive-page .breadcrumb-item a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
}

.prive-page .breadcrumb-item a:hover {
    color: #007bff;
    text-decoration: underline;
}

.prive-page .breadcrumb-item.active {
    color: #6c757d;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .prive-page .prive-detail-container {
        padding: 1rem 0.5rem;
    }
    
    .prive-page .detail-header {
        padding: 1.5rem;
    }
    
    .prive-page .detail-title {
        font-size: 1.8rem;
    }
    
    .prive-page .detail-image,
    .prive-page .detail-summary,
    .prive-page .detail-content,
    .prive-page .detail-meta-info {
        padding: 1.5rem;
    }
    
    .prive-page .detail-actions {
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .prive-page .detail-actions .btn {
        width: 100%;
    }
}

/* --- prive: Investment Card polish --- */
/* .investment-grid { gap: 20px; }
.prive-page .investment-card {
    border: 1px solid #eceff3;
    border-radius: 12px;
    padding: 16px 18px;
    background: #fff;
}
.prive-page .investment-card .card-top-text .card-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
}
.prive-page .investment-card .card-top-text .card-location {
    color: #6b7280;
    font-size: 14px;
}

.prive-page .investment-card .investment-details {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 5px;
}
.prive-page .investment-card .investment-details .detail-item { min-width: 140px; }
.prive-page .investment-card .investment-details .detail-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.prive-page .investment-card .investment-details .detail-value { font-weight: 600; font-size: 15px; }
.prive-page .investment-card .card-description { margin-top: 12px; color: #111827; font-size: 15px; }
.prive-page .investment-card .card-leftbar, .prive-page .investment-card .card-footer-html { padding-left: 18px; }
.prive-page .investment-card .card-footer-html { margin-top: 10px; }
.prive-page .investment-card .btn-outline-custom {
    border: 1px solid #cfd6e1;
    border-radius: 10px;
    padding: 10px 14px;
} */


/* --- Provider card (match reference design) --- */
.prive-page .provider-card { 
    padding-top: 6px; 
    overflow: visible;
}
.prive-page .provider-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.prive-page .provider-name { font-size: 16px; color: #111827; font-weight: 600}
.prive-page .provider-services { color: #374151; font-size: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prive-page .service-item { display: flex; align-items: center; gap: 8px; }
.prive-page .service-bullet { width: 6px; height: 6px; background-color: #111827; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.prive-page .provider-desc { 
    color: #374151; 
    font-size: 15px; 
    line-height: 1.5; 
    word-break: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.prive-page .provider-aside { 
    border-left: 1px solid #eef0f2; 
    padding-left: 20px; 
    padding-top: 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    min-width: 200px;
    max-width: 100%;
    overflow: visible;
}
.prive-page .provider-fields-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}
.prive-page .provider-field { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    flex-wrap: nowrap;
    min-width: 0;
    width: 100%;
}
.prive-page .provider-field .field-label { 
    font-size: 12px; 
    color: #374151; 
    text-transform: uppercase; 
    letter-spacing: 0.3px; 
    min-width: 85px;
    max-width: 85px;
    flex-shrink: 0;
    white-space: nowrap;
}
.prive-page .provider-field .field-value { 
    font-size: 15px; 
    font-weight: 600; 
    color: #111827;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    min-width: 0;
    flex: 1;
    line-height: 1.3;
}


@media (max-width: 768px) {
    .prive-page .provider-aside { 
        border-left: none; 
        border-top: 1px solid #eef0f2; 
        padding-left: 0; 
        padding-right: 0;
        padding-top: 20px;
        margin-top: 15px;
        overflow: visible;
        min-width: auto;
    }
    
    .prive-page .provider-field {
        flex-wrap: wrap;
        gap: 6px;
        align-items: flex-start;
    }
    
    .prive-page .provider-field .field-label {
        min-width: 75px;
        max-width: 75px;
        font-size: 11px;
        line-height: 1.3;
    }
    
    .prive-page .provider-field .field-value {
        font-size: 12px;
        flex: 1;
        min-width: 0;
        line-height: 1.3;
    }
    
    .prive-page .investment-card .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .prive-page .investment-card .col-md-4,
    .prive-page .investment-card .col-md-8,
    .prive-page .investment-card .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .prive-page .detail-title {
        font-size: 1.5rem;
    }
    
    .prive-page .detail-header,
    .prive-page .detail-image,
    .prive-page .detail-summary,
    .prive-page .detail-content,
    .prive-page .detail-meta-info,
    .prive-page .detail-actions {
        padding: 1rem;
    }
    
    .prive-page .detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .prive-page .provider-aside {
        padding-top: 15px;
    }
    
    .prive-page .provider-field {
        align-items: flex-start;
        gap: 5px;
    }
    
    .prive-page .provider-field .field-label {
        min-width: 70px;
        max-width: 70px;
        font-size: 10px;
        line-height: 1.3;
    }
    
    .prive-page .provider-field .field-value {
        font-size: 11px;
        flex: 1;
        min-width: 0;
        line-height: 1.3;
    }
    
    .prive-page .provider-fields-wrapper {
        gap: 7px;
    }
    
    .prive-page .btn-outline-custom {
        border: 2px solid #1a1a1a !important;
        border-left: 2px solid #1a1a1a !important;
        border-right: 2px solid #1a1a1a !important;
        border-top: 2px solid #1a1a1a !important;
        border-bottom: 2px solid #1a1a1a !important;
        font-size: 0.75rem;
        box-sizing: border-box;
        outline: 1px solid #1a1a1a;
        outline-offset: -1px;
    }
}

/* ===========================================
   Deal Detail Page - Smallcase Style Layout
   =========================================== */

/* Deal Header Section */
.prive-page .deal-header-section {
    background: #f4f4f4;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.prive-page .deal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.prive-page .deal-main-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.prive-page .deal-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.prive-page .deal-tagline {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
}

.prive-page .deal-metrics {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.prive-page .metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.prive-page .metric-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.prive-page .metric-value {
    font-size: 1.1rem;
    color: #111827;
    font-weight: 700;
}

.prive-page .deal-location {
    color: #6b7280;
    font-size: 0.9rem;
}

.prive-page .deal-meta-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.prive-page .deal-meta-info .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 0.9rem;
    position: relative;
}

.prive-page .deal-meta-info .meta-item::before {
    content: '';
    width: 5px;
    height: 5px;
    background-color: #9ca3af;
    border-radius: 50%;
    flex-shrink: 0;
}

.prive-page .deal-meta-info .meta-item:has(i)::before {
    display: none;
}

/* Deal Actions Wrapper */
.prive-page .deal-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.prive-page .deal-icons-row {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
}

/* Override absolute positioning for icons in deal-icons-row */
.prive-page .deal-icons-row .view-count-icon {
    position: relative;
    top: auto;
    right: auto;
}

.prive-page .deal-icons-row .bookmark-icon {
    position: relative;
    top: auto;
    right: auto;
}

.prive-page .btn-interested {
    background: #1a1a1a;
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 180px;
}

/* Navigation Tabs */
.prive-page .deal-tabs {
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.prive-page .deal-tabs .nav-link {
    border: none;
    color: #6b7280;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
}

.prive-page .deal-tabs .nav-link:hover {
    color: #1a1a1a;
    background: transparent;
}

.prive-page .deal-tabs .nav-link.active {
    color: #1a1a1a;
    background: transparent;
    border: none;
}

.prive-page .deal-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #1a1a1a;
    border-radius: 3px 3px 0 0;
}

/* Content Sections */
.prive-page .content-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.prive-page .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.prive-page .subsection-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.prive-page .content-body {
    color: #374151;
    font-size: 1rem;
    line-height: 1.7;
}

.prive-page .content-body p {
    margin-bottom: 1rem;
}

.prive-page .content-body ul {
    padding-left: 1.5rem;
}

.prive-page .content-body li {
    margin-bottom: 0.3rem;
}

/* Sidebar */
.prive-page .deal-sidebar {
    position: sticky;
    top: 20px;
}

/* Info Cards */
.prive-page .info-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prive-page .info-card:hover {
    border-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(94, 100, 106, 0.1);
    transform: translateY(-2px);
}

.prive-page .info-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0ebff 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a1a1a;
    font-size: 1.2rem;
}

.prive-page .info-card-content {
    flex: 1;
}

.prive-page .info-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.prive-page .info-card-text {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Investment Card */
.prive-page .investment-card {
    background: white;
    border: 1px solid #a7a7a7;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.prive-page .investment-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.prive-page .investment-label i {
    color: #9ca3af;
}

.prive-page .investment-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.prive-page .investment-access {
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.prive-page .investment-access p {
    font-size: 0.9rem;
    color: #374151;
}

.prive-page .investment-link {
    color: #0d6efd;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.prive-page .investment-link:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Buttons */
.prive-page .btn-subscribe {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.prive-page .btn-subscribe:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
}

.prive-page .btn-watchlist {
    background: white;
    border: 2px solid #e5e7eb;
    color: #374151;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.prive-page .btn-watchlist:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #f0f4ff;
    transform: translateY(-2px);
}

.prive-page .btn-back {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.prive-page .btn-back:hover {
    border-color: #9ca3af;
    color: #374151;
    background: #f9fafb;
}

.prive-page #photo-gallery .gallery-image { cursor: pointer; }

/* Mobile Responsive */
@media (max-width: 991px) {
    .prive-page .deal-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .prive-page .deal-header-section {
        padding: 1.5rem;
    }
    
    .prive-page .deal-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .prive-page .deal-main-title {
        font-size: 1.5rem;
    }
    
    .prive-page .deal-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .prive-page .content-section {
        padding: 1.5rem;
    }
    
    .prive-page .section-title {
        font-size: 1.25rem;
    }
    
    .prive-page .investment-amount {
        font-size: 1.75rem;
    }
    
    .prive-page .deal-actions-wrapper {
        align-items: flex-start;
        margin-top: 1rem;
    }
    
    .prive-page .btn-interested {
        min-width: 100%;
    }
}

/* Sell Assets Styles */
.prive-page .card-radio {
    position: relative;
}

.prive-page .card-radio .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.prive-page .card-radio .form-check-label {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    margin-bottom: 0;
}

.prive-page .card-radio .form-check-label:hover {
    border-color: #dee2e6;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.075);
}

.prive-page .card-radio .form-check-input:checked + .form-check-label {
    background-color: #f8f9fa;
    border-color: #212529;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1);
}

.prive-page .dynamic-fields {
    animation: fadeIn 0.3s ease-in;
}

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

/* Active state for interested button */
.prive-page .btn-outline-custom.interested-active {
    background: #1a1a1a;
    color: white;
}

.prive-page .btn-outline-custom.interested-active:hover {
    background: #1a1a1a;
    color: white;
}

/* Document link styling */
.info-card-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.info-card-content ul {
    width: 100%;
    max-width: 100%;
}

.info-card-content ul li {
    width: 100%;
    max-width: 100%;
}

.document-link {
    text-decoration: none;
    color: #1a1a1a;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.document-link:hover {
    background-color: #e9ecef;
    border-color: #0d6efd;
    color: #0d6efd;
    transform: translateX(5px);
}

.document-link i.fa-download {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.document-link:hover i.fa-download {
    opacity: 1;
}

.document-filename {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-floating .floating-label-transparent {
    background-color: transparent !important;
}

.form-floating .floating-label-transparent::after {
    background-color: transparent !important;
}
