    .profile-container {
        max-width: 1200px;
        margin: 100px auto 50px;
        padding: 0 20px;
    }
    
    .profile-grid {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 30px;
        margin-top: 30px;
    }
    
    .profile-sidebar {
        background: white;
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        height: fit-content;
        position: sticky;
        top: 100px;
    }
    
    .profile-avatar {
        text-align: center;
        margin-bottom: 20px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .profile-avatar h3 {
        font-size: 20px;
        color: #2B2D2F;
        word-break: break-word;
    }
    
    .profile-avatar p, #userEmail {
        font-size: 13px;
        color: #888;
        word-break: break-all;
        overflow-wrap: anywhere;
        margin-top: 4px;
    }
    
    .avatar-wrapper {
        position: relative;
        width: 150px;
        height: 150px;
        margin: 0 auto 15px;
    }
    
    .avatar-img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid #C9A961;
    }
    
    .avatar-upload {
        position: absolute;
        bottom: 5px;
        right: 5px;
        width: 40px;
        height: 40px;
        background: #C9A961;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .avatar-upload:hover {
        background: #b8984e;
        transform: scale(1.1);
    }
    
    .avatar-upload input {
        display: none;
    }
    
    .profile-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .profile-menu li {
        margin-bottom: 10px;
    }
    
    .profile-menu a {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        color: #333;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s;
    }
    
    .profile-menu a:hover,
    .profile-menu a.active {
        background: #f8f8f8;
        color: #C9A961;
    }
    
    .profile-menu i {
        margin-right: 12px;
        width: 20px;
    }
    
    .profile-content {
        background: white;
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .profile-section {
        display: none;
    }
    
    .profile-section.active {
        display: block;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
        color: #333;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .info-group {
        margin-bottom: 20px;
    }
    
    .info-label {
        display: block;
        font-weight: 600;
        color: #666;
        margin-bottom: 8px;
    }
    
    .info-value {
        display: block;
        padding: 12px 15px;
        background: #f8f8f8;
        border-radius: 8px;
        color: #333;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #333;
    }
    
    .form-group input {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.3s;
    }
    
    .form-group input:focus {
        outline: none;
        border-color: #C9A961;
    }
    
    .btn-group {
        display: flex;
        gap: 15px;
        margin-top: 30px;
    }
    
    .appointments-list {
        list-style: none;
        padding: 0;
    }
    
    .appointment-item {
        padding: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        margin-bottom: 15px;
        transition: all 0.3s;
    }
    
    .appointment-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .appointment-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }
    
    .appointment-status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.3px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }
    
    .status-pending, [data-status="Chờ xác nhận"] {
        background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
        color: #C2410C;
        border: 1px solid rgba(249, 115, 22, 0.2);
    }
    
    .status-confirmed, [data-status="Đã xác nhận"] {
        background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
        color: #1D4ED8;
        border: 1px solid rgba(59, 130, 246, 0.2);
    }
    
    .status-completed, [data-status="Hoàn thành"] {
        background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
        color: #047857;
        border: 1px solid rgba(16, 185, 129, 0.2);
    }
    
    .status-cancelled, [data-status="Đã hủy"] {
        background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
        color: #B91C1C;
        border: 1px solid rgba(239, 68, 68, 0.2);
    }
    
    @media (max-width: 768px) {
        .profile-grid {
            grid-template-columns: 1fr;
        }
        
        .profile-sidebar {
            position: relative;
            top: 0;
        }
    }

    .invoices-list {
    list-style: none;
    padding: 0;
}

.invoice-item {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.invoice-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.invoice-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.invoice-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.invoice-label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.invoice-value {
    font-weight: 600;
    color: #333;
}

.invoice-amount {
    font-size: 18px;
    font-weight: 700;
    color: #C9A961;
}

.invoice-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-paid {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.invoice-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 14px;
}

.invoice-details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.invoice-details-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

.details-list {
    list-style: none;
    padding: 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-name {
    flex: 2;
    font-weight: 600;
}

.detail-quantity {
    flex: 1;
    text-align: center;
}

.detail-price {
    flex: 1;
    text-align: right;
}

.detail-total {
    flex: 1;
    text-align: right;
    font-weight: 700;
}

.total-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    text-align: right;
    font-size: 18px;
    font-weight: 700;
    color: #C9A961;
}
