    /* =============================================
   Shopping App - Profile Page Styles
   Bootstrap 5 + Custom CSS
   ============================================= */

/* CSS Variables */
:root {
    --primary-blue: #2563eb;
    --primary-blue-hover: #1d4ed8;
    --bg-light: #f0f4f8;
    --bg-card: #e8eef5;
    --bg-white: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
}



/* Header Styles */
.header-main {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: var(--radius-full);
    padding: 4px 4px 4px 16px;
}

.search-icon {
    color: var(--text-muted);
    font-size: 1rem;
}

.search-input {
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 0.95rem;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

.search-btn {
    border-radius: var(--radius-full);
    padding: 8px 14px;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile Card */
.profile-card {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.profile-level {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.profile-avatar {
    position: relative;
}

.avatar-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6b7280;
}

.sparkle {
    position: absolute;
    color: #93c5fd;
    font-size: 0.8rem;
}

.sparkle-1 {
    top: -5px;
    right: -5px;
}

.sparkle-2 {
    top: 10px;
    right: -15px;
    font-size: 0.6rem;
}

/* Stat Cards */
.stat-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.stat-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Action Buttons */
.action-btn {
    padding: 8px 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
}

.action-btn-light {
    background-color: var(--bg-card);
    border-color: var(--bg-card);
    color: var(--text-dark);
}

.action-btn-light:hover {
    background-color: #dde4ed;
    border-color: #dde4ed;
    color: var(--text-dark);
}

.edit-profile-btn {
    padding: 12px;
    border-radius: var(--radius-md);
    background-color: var(--bg-card);
    border-color: var(--bg-card);
    color: var(--text-muted);
    font-weight: 500;
}

.edit-profile-btn:hover {
    background-color: #dde4ed;
    border-color: #dde4ed;
    color: var(--text-dark);
}

/* Tabs Section */
.tabs-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.custom-tabs {
    border-bottom: 1px solid var(--border-color);
    padding: 0 8px;
}

.custom-tabs .nav-link {
    color: var(--text-muted);
    border: none;
    padding: 14px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    position: relative;
    background: transparent;
}

.custom-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border: none;
}

.custom-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: var(--primary-color);
}

.custom-tabs .nav-link i {
    font-size: 0.85rem;
}

/* Empty State */
.empty-state h5 {
    font-weight: 600;
    color: var(--text-dark);
}

.browse-btn {
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    
}

/* Recommended Section */
.recommended-section {
    margin-bottom: 20px;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-image {
    position: relative;
    background-color: #f8fafc;
    padding: 10px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.free-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #22c55e;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.product-info {
    padding: 10px;
}

.product-price {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #dc2626;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.stars {
    color: #f59e0b;
    font-size: 0.75rem;
}

.reviews {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0px 25px 5px 25px;
    z-index: 1000;
    margin-bottom: 15px;
    border-radius: 16px;
    width: 90%;
    left: 5%;

    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.37);
}

.dropdown-menu.active{
    background-color: var(--bg-white);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    gap: 4px;
    flex: 1;
}

.bottom-nav-item i {
    font-size: 1.3rem;
}

.bottom-nav-item.active-center {
    color: var(--primary-blue);
}
.bi{
    height: 20px;
}
.bi.bi-heart-fill{
    margin-bottom: 0.39rem;
}
.bi.bi-person-fill{
    margin-bottom: 2.1rem !important;
}

.center-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -35px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.center-icon i {
    color: white;
    font-size: 1.3rem;
}


.sidebar-content {
    padding: 24px 16px;
}

.sidebar-nav .nav-link {
    color: var(--text-muted);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-link:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.sidebar-nav .nav-link.active {
    background-color: #dbeafe;
    color: var(--primary-blue);
    font-weight: 600;
}

/* Desktop Layout Adjustments */
@media (min-width: 992px) {
    

    .main-content {
        padding-bottom: 20px !important;
        margin-bottom: 0 !important;
    }

    .header-main {
        margin-left: 0;
    }

    .profile-card {
        padding: 30px;
    }

    .profile-name {
        font-size: 1.75rem;
    }

    .avatar-circle {
        width: 90px;
        height: 90px;
        font-size: 2.5rem;
    }

    .stat-card {
        padding: 18px 20px;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .custom-tabs .nav-link {
        padding: 16px 20px;
        font-size: 0.9rem;
    }

    .product-info {
        padding: 14px;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .product-rating {
        font-size: 0.85rem;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .profile-card {
        padding: 24px;
    }

    .stat-card {
        padding: 16px 18px;
    }

    .product-card {
        border-radius: var(--radius-md);
    }
}

/* Small mobile adjustments */
@media (max-width: 375px) {
    .profile-name {
        font-size: 1.25rem;
    }

    .avatar-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .action-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .custom-tabs .nav-link {
        font-size: 0.75rem;
        padding: 12px 8px;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .free-badge {
        font-size: 0.6rem;
        padding: 2px 4px;
    }
}

/* Hover effects for desktop */
@media (hover: hover) {
    .stat-card:hover {
        box-shadow: var(--shadow-md);
    }

    .product-card:hover {
        transform: translateY(-3px);
    }

    .btn:hover {
        transform: translateY(-1px);
    }
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.form-control:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .desktop-sidebar,
    .header-main {
        display: none !important;
    }

    body {
        padding: 0;
    }
    
}


@media (width >= 800px){
    .bottom-nav{
        font-family: "Poppins", sans-serif;
        font-weight: 300;
        font-style: normal;
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 40%;
        position: fixed;
        padding: 5px 25px;
        gap: 30px;
        left: 30%;
        z-index: 1000;
        margin-bottom: 15px;
        border-radius: 16px;  
        background-color: var(--bg-white);
       
    }
    .bi{
        height: 20px;
    }
    .bi.bi-heart-fill{
        margin-bottom: 0.19rem;
    }
    
    .bi.bi-person-fill{
        margin-bottom: 2.3rem !important;
    }
    .center-icon{
        height: 40px;
        width: 40px;
    }
}



