/* User Profile Mobile Design */

@media (max-width: 991.98px) {
    /* Account Navigation - Stack vertically on mobile */
    .account-navigation {
        margin-bottom: 30px;
    }
    
    .account-navigation .nav-title {
        font-size: 18px;
        margin-bottom: 15px;
        padding: 10px 15px;
        background: #f5f5f5;
        border-radius: 8px;
    }
    
    .account-nav-list {
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .account-nav-list .nav-item {
        border-bottom: 1px solid #e5e5e5;
    }
    
    .account-nav-list .nav-item:last-child {
        border-bottom: none;
    }
    
    .account-nav-list .nav-link {
        padding: 15px;
        font-size: 15px;
        display: flex;
        align-items: center;
        color: #333;
        transition: all 0.3s ease;
    }
    
    .account-nav-list .nav-link i {
        font-size: 18px;
        width: 30px;
    }
    
    .account-nav-list .nav-link.active {
        background: #3a9aed;
        color: white;
        font-weight: 600;
    }
    
    .account-nav-list .nav-link:not(.active):hover {
        background: #f5f5f5;
        padding-left: 20px;
    }
    
    /* Tab Content */
    .account-content {
        padding: 0;
    }
    
    .tab-pane {
        padding: 20px 15px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 2px solid #3a9aed;
    }
    
    /* Dashboard Stats */
    .dashboard-stats {
        gap: 15px;
    }
    
    .stat-card {
        background: #f8f9fa;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        padding: 20px;
        text-align: center;
        transition: transform 0.2s ease;
    }
    
    .stat-card:active {
        transform: scale(0.98);
    }
    
    .stat-card .stat-icon {
        font-size: 32px;
        color: #3a9aed;
        margin-bottom: 10px;
    }
    
    .stat-card .stat-info h4 {
        font-size: 24px;
        font-weight: bold;
        color: #333;
        margin-bottom: 5px;
    }
    
    .stat-card .stat-info p {
        font-size: 14px;
        color: #666;
        margin: 0;
    }
    
    /* Orders Table Mobile */
    .orders-table {
        font-size: 13px;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 10px 8px;
        vertical-align: middle;
    }
    
    .orders-table .product-list {
        font-size: 12px;
        padding-left: 15px;
    }
    
    .orders-table .product-list li {
        margin-bottom: 3px;
    }
    
    /* Make table horizontally scrollable on very small screens */
    @media (max-width: 575.98px) {
        .table-responsive {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        .orders-table {
            min-width: 600px;
        }
        
        /* Stack order info vertically */
        .orders-table td > div {
            white-space: nowrap;
        }
    }
    
    /* Profile Form */
    .profile-form .form-label {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .profile-form .form-control,
    .profile-form .form-select {
        font-size: 15px;
        padding: 12px;
        border-radius: 6px;
    }
    
    .profile-form .btn {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        border-radius: 6px;
        margin-bottom: 10px;
    }
    
    /* Password Change Form */
    .password-form .form-control {
        font-size: 15px;
        padding: 12px;
    }
    
    /* Account Dashboard Welcome */
    .dashboard-welcome {
        background: linear-gradient(135deg, #3a9aed 0%, #2563eb 100%);
        color: white;
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .dashboard-welcome p {
        margin-bottom: 10px;
        font-size: 14px;
    }
    
    .dashboard-welcome a {
        color: #fed700;
        text-decoration: underline;
    }
    
    .dashboard-welcome strong {
        font-weight: 600;
    }
    
    /* Recent Orders on Dashboard */
    .recent-orders h3 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #333;
    }
    
    /* No Orders Message */
    .no-orders {
        padding: 40px 20px;
        text-align: center;
    }
    
    .no-orders i {
        font-size: 48px;
        color: #ddd;
        margin-bottom: 20px;
    }
    
    .no-orders p {
        font-size: 15px;
        color: #666;
        margin-bottom: 20px;
    }
    
    /* Tracking Number Display */
    .tracking-info {
        background: #f8f9fa;
        padding: 10px;
        border-radius: 6px;
        margin-top: 8px;
        border-left: 3px solid #3a9aed;
    }
    
    .tracking-info small {
        display: block;
        font-size: 11px;
    }
    
    .tracking-info code {
        background: #e9ecef;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        color: #3a9aed;
        font-weight: 600;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .col-lg-3.col-md-4 {
        flex: 0 0 30%;
        max-width: 30%;
    }
    
    .col-lg-9.col-md-8 {
        flex: 0 0 70%;
        max-width: 70%;
    }
    
    .dashboard-stats .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}




